API reference: @salmonui/inputs/color-picker
ColorSwatchLocaleTextinterface
import type { ColorSwatchLocaleText } from '@salmonui/inputs/color-picker';interface ColorSwatchLocaleText {
readonly noColor?: string;
readonly colorName?: (color: Color) => string;
}
Strings of ColorSwatch: the colorSwatch family of a LocaleProvider.
| Name | Signature | Description |
|---|---|---|
noColoroptional | readonly noColor?: string; | Name of the "no color" swatch. Default |
colorNameoptional | readonly colorName?: (color: Color) => string; | Replaces the English description. |