UNPKG

@papernote/ui

Version:

A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive

18 lines 675 B
export interface ColorPickerProps { /** Current color value (hex format: #RRGGBB) */ value?: string; /** Callback when color changes */ onChange?: (color: string) => void; /** Preset color swatches */ presets?: string[]; /** Label text */ label?: string; /** Helper text */ helperText?: string; /** Disabled state */ disabled?: boolean; /** Show alpha/transparency control */ showAlpha?: boolean; } export default function ColorPicker({ value, onChange, presets, label, helperText, disabled, showAlpha: _showAlpha, }: ColorPickerProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ColorPicker.d.ts.map