Props
interface ColorPaletteSyncedProps extends SharedColorPaletteProps
allowedColors | Array<string> The list of colors to display in the color palette. |
className | undefined | string Additional class names to apply to the color palette, separated by spaces. |
disabled | undefined | false | true If set to |
globalConfigKey | GlobalConfigKey A string key or array key path in GlobalConfig. The selected color will always reflect the value stored in GlobalConfig for this key. Selecting a new color will update GlobalConfig. |
onChange | undefined | A function to be called when the selected color changes. |
squareMargin | undefined | number The margin between color squares in the color palette. |
style | React.CSSProperties Additional styles to apply to the color palette. |