From 20fbb8e4646c5e261c2079629f6f144c7e092466 Mon Sep 17 00:00:00 2001 From: Andrew Busch <6486627+andrewbusch7@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:57:13 +1000 Subject: [PATCH] chore: Rename ColorPickerProps.onChange string param (#50604) --- components/color-picker/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;