| 21 | ]; |
| 22 | |
| 23 | export interface MultiSelectOptions<Value> extends CommonOptions { |
| 24 | message: string; |
| 25 | options: Option<Value>[]; |
| 26 | initialValues?: Value[]; |
| 27 | maxItems?: number; |
| 28 | required?: boolean; |
| 29 | cursorAt?: Value; |
| 30 | /** |
| 31 | * Show keyboard instructions below the option list. |
| 32 | * @default true |
| 33 | */ |
| 34 | showInstructions?: boolean; |
| 35 | } |
| 36 | const computeLabel = (label: string, format: (text: string) => string) => { |
| 37 | return label |
| 38 | .split('\n') |
nothing calls this directly
no outgoing calls
no test coverage detected