(value: string)
| 24 | return () => clearTimeout(timeoutId); |
| 25 | }, []); |
| 26 | function onSelect(value: string): void { |
| 27 | switch (value) { |
| 28 | case 'yes': |
| 29 | onResponse('yes'); |
| 30 | break; |
| 31 | case 'disable': |
| 32 | onResponse('disable'); |
| 33 | break; |
| 34 | default: |
| 35 | onResponse('no'); |
| 36 | } |
| 37 | } |
| 38 | const options = [{ |
| 39 | label: <Text> |
| 40 | Yes, install <Text bold>{pluginName}</Text> |
no test coverage detected