IAccordionProps
@spartanfx/react / IAccordionProps
Interface: IAccordionProps
Props accepted by Accordion.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
appearance? | AppearanceMode | AppearanceMode.light | Visual appearance mode - light or dark theme support |
ariaLabel? | string | undefined | ARIA label for accessibility. |
classes? | IAccordionClassNames | undefined | CSS class name overrides for component elements. |
className? | string | undefined | Additional CSS class name for the root element. |
defaultOpen? | boolean | false | Whether the accordion starts in the open state. Ignored if staticMode is true |
staticMode? | boolean | false | Whether the accordion is seen as a section. No expand or collapse in this mode - Expanded by default. |
style? | CSSProperties | undefined | Inline styles for the root element. |
title | string | undefined | The text shown next to the chevron. |
tokens? | IAccordionTokens | undefined | Design tokens for theming. |