API reference: @salmonui/inputs/color-picker
ColorSwatchPickerLocaleTextinterface
import type { ColorSwatchPickerLocaleText } from '@salmonui/inputs/color-picker';interface ColorSwatchPickerLocaleText {
readonly label?: string;
readonly noColor?: string;
readonly colorName?: (color: Color) => string;
}
User-visible strings of ColorSwatchPicker.
| Name | Signature | Description |
|---|---|---|
labeloptional | readonly label?: string; | |
noColoroptional | readonly noColor?: string; | |
colorNameoptional | readonly colorName?: (color: Color) => string; |