Props
interface ColorPaletteProps 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. |
color | string | null The current selected Color option. |
disabled | undefined | false | true If set to |
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. |