Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
TabsTrigger
Tabs Trigger using the host's tabbed content presentation.
Import
import { TabsTrigger } from "@dartwic/interface-sdk/ui";Declaration
export const TabsTrigger: HostComponent<TabsTriggerProps>;TabsTriggerProps
Props accepted by a tab trigger.
export interface TabsTriggerProps extends HostComponentProps {
/** Tab value activated by the trigger. */
value: string;
/** Disables the trigger. */
disabled?: boolean;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
value | string | Required | Tab value activated by the trigger. |
disabled | boolean | Optional | Disables the trigger. |
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. |