Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
AccordionItem
Accordion Item using the host's expandable sections presentation.
Import
import { AccordionItem } from "@dartwic/interface-sdk/ui";Declaration
export const AccordionItem: HostComponent<AccordionItemProps>;AccordionItemProps
Value identifying an accordion section.
export interface AccordionItemProps extends HostComponentProps {
value: string;
disabled?: boolean;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
value | string | Required | |
disabled | boolean | Optional | |
className | string | Optional | Additional Tailwind or host CSS classes. |
children | HostNode | Optional | Child content rendered by the host component. |
id | string | Optional | Optional DOM identifier. |
style | Record<string, unknown> | Optional | Inline style values passed to the host component. |