T
PaletteRowProps
Props for PaletteRow.
type PaletteRowProps = { … }Members
disabled?
booleanDims the row and ignores input. Defaults to false.
label
stringThe row's label.
onChange
(color: string) => voidCalled with the color the user presses.
presets
string[]The colors offered, #RRGGBB.
subLabel?
stringText shown under the label; none when omitted.
value
stringThe picked color, #RRGGBB.