diff --git a/frontend/antd/color-picker/Index.svelte b/frontend/antd/color-picker/Index.svelte index 83ffdf63..9ee03837 100644 --- a/frontend/antd/color-picker/Index.svelte +++ b/frontend/antd/color-picker/Index.svelte @@ -26,7 +26,7 @@ export let _internal: { layout?: boolean; } = {}; - export let value: string; + export let value: string | { color: string; percent: number }; export let value_format: 'rgb' | 'hex' | 'hsb' = 'hex'; export let as_item: string | undefined; // gradio properties