(props: {
checked: boolean;
description: string;
name: string;
onChange: (value: boolean) => void;
})
| 437 | } |
| 438 | |
| 439 | function SettingSwitch(props: { |
| 440 | checked: boolean; |
| 441 | description: string; |
| 442 | name: string; |
| 443 | onChange: (value: boolean) => void; |
| 444 | }) { |
| 445 | const { checked, description, name, onChange } = props; |
| 446 | |
| 447 | return ( |
| 448 | <SettingsSection id={name} tag="label" name={name} description={description} inlineSetting> |
| 449 | <Switch checked={checked} onChange={onChange} /> |
| 450 | </SettingsSection> |
| 451 | ); |
| 452 | } |
| 453 | |
| 454 | function ServicePicker(props: { |
| 455 | onChange: (service: ServiceType) => void; |
nothing calls this directly
no outgoing calls
no test coverage detected