ListItemAccordion
Install
yarn add @ntds/list
Import
import { ListItemDropdown } from '@ntds/list';
Props
ListItemAccordion
Prop | Type & Description |
---|---|
label | string Main label text displayed in the list item |
icon | React.FC<IconProps> Optional icon displayed before the label |
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 |