import { ReactElement } from 'react'; import { SwitchRootState, SwitchRootProps } from '@base-ui/react'; import { DSCommonProps } from '../DSCommonProps.ts'; export interface DSSwitchProps extends DSCommonProps<'span', SwitchRootState> { disabled?: boolean; checked?: SwitchRootProps['checked']; defaultChecked?: SwitchRootProps['defaultChecked']; onCheckedChange?: SwitchRootProps['onCheckedChange']; variant?: 'on-neutral' | 'on-brand'; } /** * DSSwitch component * * A customizable switch button. */ export default function DSSwitch(p: DSSwitchProps): ReactElement;