T

PaletteRowProps

Props for PaletteRow.

type PaletteRowProps = { … }

Members

disabled?boolean

Dims the row and ignores input. Defaults to false.

labelstring

The row's label.

onChange(color: string) => void

Called with the color the user presses.

presetsstring[]

The colors offered, #RRGGBB.

subLabel?string

Text shown under the label; none when omitted.

valuestring

The picked color, #RRGGBB.