Component properties for ButtonToggle
| 10 | |
| 11 | /** Component properties for ButtonToggle */ |
| 12 | interface ButtonToggleProps { |
| 13 | options: ButtonToggleOption[]; |
| 14 | update: (value?: any) => void; |
| 15 | defaultValue?: any; |
| 16 | allowDeselect?: boolean; |
| 17 | disabled?: boolean; |
| 18 | className?: string; |
| 19 | compact?: boolean; |
| 20 | style?: Partial<React.CSSProperties>; |
| 21 | } |
| 22 | |
| 23 | /** Class for defining a Bootstrap-style button toggle */ |
| 24 | const ButtonToggle: React.FC<ButtonToggleProps> = ({ |
nothing calls this directly
no outgoing calls
no test coverage detected