import Divider from '@precursor/divider';Example
Drafts
Published
import Divider from '@precursor/divider';
export default function Example() {
return (
<>
<p>Drafts</p>
<Divider />
<p>Published</p>
</>
);
}
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
orientation | "horizontal" | "vertical" | 'horizontal' | — |
decorative | boolean | false | — |