Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

TabsContent

Tabs Content using the host's tabbed content presentation.

Import

import { TabsContent } from "@dartwic/interface-sdk/ui";

Declaration

export const TabsContent: HostComponent<TabsContentProps>;

TabsContentProps

Props accepted by a tab content panel.

export interface TabsContentProps extends HostComponentProps {
    /** Tab value that displays this panel. */
    value: string;
}
PropTypeRequirementDescription
valuestringRequiredTab value that displays this panel.
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.