import { c, classy, m, type SwitchProps as BaseProps } from '@onfido/castor'; import React, { type FC } from 'react'; import { Icon } from '../icon/icon'; let idCount = 0; export const Switch: FC = ({ id = `castor_switch_${++idCount}`, disabled, className, children, ...props }) => ( ); export type SwitchProps = BaseProps & SwitchElementProps; type SwitchElementProps = JSX.IntrinsicElements['input'];