ListItemAccordion

Install

yarn add @ntds/list

Import

import { ListItemAccordion } from '@ntds/list';

Props

ListItemAccordion

PropType & 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.

This guide is based on version: 3.0.1