Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
ColorPickerProps
Theme-aware host color selector.
Import
import type { ColorPickerProps } from "@dartwic/interface-sdk/ui";Declaration
export interface ColorPickerProps extends HostComponentProps {
value?: string;
onValueChange?: (value: string) => void;
ariaLabel?: string;
disabled?: boolean;
variant?: "swatch" | "field";
allowThemeColors?: boolean;
}Members
| Name | Type | Requirement | Description |
|---|---|---|---|
value | string | Optional | |
onValueChange | (value: string) => void | Optional | |
ariaLabel | string | Optional | |
disabled | boolean | Optional | |
variant | "swatch" | "field" | Optional | |
allowThemeColors | boolean | Optional |