Skip to content

Switch

const Switch: React.ForwardRefExoticComponent<
Pick<ChakraSwitch.RootProps, "value"> & {
onCheckedChange?: (details: SwitchCheckedChangeDetails) => void;
} & CustomChakraBoxProps &
LayoutProps &
MarginProps &
PaddingProps &
ColorProps & {
isChecked?: boolean;
isDisabled?: boolean;
size?: ConditionalValue;
} & React.RefAttributes<HTMLInputElement>
>;