()
| 15 | type SwitchContextValue = { checked: boolean; disabled?: boolean } |
| 16 | const SwitchContext = React.createContext<SwitchContextValue>({} as any) |
| 17 | const useSwitchContext = () => React.useContext(SwitchContext) |
| 18 | |
| 19 | type SwitchElement = React.ElementRef<typeof Root.button> |
| 20 | type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Root.button> |
no outgoing calls
no test coverage detected
searching dependent graphs…