Skip to content

Commit

Permalink
chore: Added divider documentation on Docusaurus STC-745 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
VagnerNico authored Feb 7, 2022
1 parent 8a88223 commit b71dff2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
3 changes: 0 additions & 3 deletions website/docs/components/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,3 @@ Please note the use is focused in custom SVG's or custom icons

- [Button](/docs/apis/button)




36 changes: 36 additions & 0 deletions website/docs/components/Divider.mdx
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)

1 comment on commit b71dff2

@github-actions
Copy link

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

Please sign in to comment.