Divider
Install
yarn add @ntds/dropdownImport
import { Dropdown } from '@ntds/dropdown';Usage
<Dropdown
items={() => (
<>
<Dropdown.Group>
...
<Dropdown.CustomDivider />
...
<Dropdown.CustomDivider title='DividerTitle'/>
...
</Dropdown.Group>
</>
)}
>
...
</Dropdown>Props
| Prop | Type | Default | Description |
|---|---|---|---|
title? | string | — | If a title is being passed to the Divider, it will appear as a header containing the title |