AccordionItemProps
type AccordionItemProps = Pick<ChakraAccordionItemProps, "children" | "id" | "value"> & { rightElement?: ReactNode; title: ReactNode;};Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
rightElement? |
ReactNode |
Element displayed right after the title, e.g. an IconButton. Clicking it does not toggle the item. |
title |
ReactNode |
Label of the item, acts as the label of the toggle button. Must not contain interactive elements. |