import { FocusEventHandler, FormEventHandler } from 'react'; import type { SwitchProps as RadixSwitchProps } from '@radix-ui/react-switch'; type OmittedSwitchProps = 'checked' | 'defaultChecked'; export interface SwitchProps extends Omit { defaultOn?: boolean; fieldLabel: string; id?: string; className?: string; switchOn?: boolean; onBlur?: FocusEventHandler; onChange?: FormEventHandler; onCheckedChange?: () => void; } export {};