T
ColorRowProps
Props for ColorRow.
type ColorRowProps = { … }Members
color
string | undefinedThe chosen color as a #RRGGBB hex code, or undefined when the default applies.
fallbackColor
stringThe default color, swatched and opened in the picker while color is unset.
fallbackLabel
stringThe text shown under the label while color is unset, in place of the hex code.
label
stringThe row's title.
onChange
(color: string | undefined) => voidCalled with the new #RRGGBB hex code, or undefined when the user resets it.