-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added divider documentation on Docusaurus STC-745 (#182)
- Loading branch information
1 parent
8a88223
commit b71dff2
Showing
2 changed files
with
36 additions
and
3 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 |
---|---|---|
|
@@ -137,6 +137,3 @@ Please note the use is focused in custom SVG's or custom icons | |
|
||
- [Button](/docs/apis/button) | ||
|
||
|
||
|
||
|
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,36 @@ | ||
# Divider | ||
|
||
## Component | ||
|
||
The Divider component is used as a separator horizontally or vertically. | ||
|
||
### Horizontal | ||
```jsx live | ||
<div style={{ display: "flex", flexDirection: "column", gap: 8 }}> | ||
Item 1 | ||
<Divider /> | ||
Item 2 | ||
<Divider /> | ||
Item 3 | ||
<Divider /> | ||
Item 4 | ||
</div> | ||
``` | ||
|
||
### Vertical | ||
```jsx live | ||
<div style={{ display: "flex", gap: 8 }}> | ||
Item 1 | ||
<Divider variant="vertical" /> | ||
Item 2 | ||
<Divider variant="vertical" /> | ||
Item 3 | ||
<Divider variant="vertical" /> | ||
Item 4 | ||
</div> | ||
``` | ||
|
||
## API | ||
|
||
- [Divider](/docs/apis/divider) | ||
|
b71dff2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for herzui ready!
✅ Preview
https://herzui-a265h10ds-micromed.vercel.app
Built with commit b71dff2.
This pull request is being automatically deployed with vercel-action