ListItemAccordion

Install

yarn add @ntds/list

Import

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

Props

ListItemAccordion

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

This guide is based on version: 2.1.7