(text: string)
| 7 | const MIN_DESCRIPTION_WIDTH = 10; |
| 8 | |
| 9 | const normalizeToSingleLine = (text: string): string => text.replace(/[\r\n]+/g, " ").trim(); |
| 10 | const clamp = (value: number, min: number, max: number): number => Math.max(min, Math.min(value, max)); |
| 11 | |
| 12 | export interface SelectItem { |