diff --git a/components/color-picker/interface.ts b/components/color-picker/interface.ts index a0f1bec899..55af785669 100644 --- a/components/color-picker/interface.ts +++ b/components/color-picker/interface.ts @@ -85,7 +85,7 @@ export type ColorPickerProps = Omit< [key: `data-${string}`]: string; onOpenChange?: (open: boolean) => void; onFormatChange?: (format?: ColorFormatType) => void; - onChange?: (value: AggregationColor, hex: string) => void; + onChange?: (value: AggregationColor, css: string) => void; onClear?: () => void; onChangeComplete?: (value: AggregationColor) => void; } & Pick;