Skip to content

Commit 7af7e82

Browse files
committed
make value prop in Colors component type optional
1 parent 9ba7a52 commit 7af7e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/editor/src/Sx/Colors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type Color = string | ColorState
77
type OnChangeArg = { color: Color } | { bg: Color }
88

99
type ColorsProps = {
10-
value: {
10+
value?: {
1111
color?: string
1212
bg?: string
1313
}

0 commit comments

Comments
 (0)