ListItemAccordion
Install
yarn add @ntds/list
Import
import { ListItemAccordion } from '@ntds/list';
Props
ListItemAccordion
| Prop | Type & Description |
|---|---|
| details | ReactNode Optional content to render below the cell when dropdown is expanded. |
| startOpen | boolean Whether or not to render the AccordionItem expanded by default. |
| icon | ReactNode | FC<IconProps> An icon to display to the left of the title. |
| title | ReactNode Title of the list item |
| subTitle | ReactNode Subtitle of the list item, displayed below the title. |