-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the thickness of the Hr component
- Loading branch information
1 parent
d9ac0f9
commit 3993cc5
Showing
5 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sumup/circuit-ui': minor | ||
--- | ||
|
||
Reduced the thickness of the Hr (horizontal rule) component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { Status, Props, Story } from '../../../../.storybook/components'; | ||
|
||
# HR | ||
# Hr | ||
|
||
<Status.Stable /> | ||
|
||
HR provides a visual line that separates content into sections | ||
A horizontal rule visually and semantically separates content into sections. | ||
|
||
<Story id="components-hr--base" /> | ||
<Props /> | ||
|
||
## When to use it | ||
|
||
Use it when you need to separate different sections of a certain content within a body text or a list of data within a card. | ||
Use it when you need to separate different sections of content within body copy or a list of data within a card. | ||
|
||
## Usage guidelines | ||
|
||
- **Do** proper space the HR from the sections to make sure the division is clear | ||
- **Do not** use HR to separate totally different content, it is used to break sections on a related content | ||
- **Do** properly space the HR from the sections to make sure the division is clear | ||
- **Do not** use HR to separate totally different content, it is used to break sections of related content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters