Skip to main content

Type Alias: AccordionItem

AccordionItem = object

Defined in: Accordion/Accordion.tsx:8

Individual item for the Accordion component.

Properties​

content​

content: React.ReactNode

Defined in: Accordion/Accordion.tsx:21

Content displayed when the accordion item is expanded.


disabled?​

optional disabled?: boolean

Defined in: Accordion/Accordion.tsx:26

Whether the item is disabled.

Default​

false

id?​

optional id?: string

Defined in: Accordion/Accordion.tsx:13

Unique identifier for the accordion item. If not provided, will use the index as the key.


title​

title: React.ReactNode

Defined in: Accordion/Accordion.tsx:17

Title displayed in the accordion header.