MCPcopy Index your code
hub / github.com/devhubapp/devhub / SwitchProps

Interface SwitchProps

packages/components/src/components/common/Switch.tsx:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected