Norsk Tipping Design System

ListItemAccordion

Install

yarn add @ntds/list

Import

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

Props

PropTypeDefaultDescription
detailsReactNode—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.
titleReactNode—Title of the list item
subTitle?ReactNode—Subtitle of the list item, displayed below the title.

On this page