ListItemAccordion
Install
yarn add @ntds/listImport
import { ListItemAccordion } from '@ntds/list';Props
| Prop | Type | Default | 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. |