| 11 | import { useTheme } from '../context/ThemeContext' |
| 12 | |
| 13 | export interface SwitchProps extends SwitchPropsOriginal { |
| 14 | analyticsLabel: string | undefined |
| 15 | analyticsValue?: number | undefined |
| 16 | color?: keyof ThemeColors | ((theme: Theme) => string) |
| 17 | } |
| 18 | |
| 19 | export function Switch(props: SwitchProps) { |
| 20 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected