@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
6 lines (5 loc) • 604 B
TypeScript
export { SwitchRoot, SwitchRootProvider, SwitchPropsProvider, SwitchControl, SwitchLabel, SwitchThumb, SwitchIndicator, SwitchThumbIndicator, useSwitchStyles, SwitchContext, SwitchHiddenInput, } from "./switch";
export type { SwitchRootProps, SwitchRootProviderProps, SwitchControlProps, SwitchLabelProps, SwitchIndicatorProps, SwitchThumbIndicatorProps, SwitchThumbProps, SwitchCheckedChangeDetails, } from "./switch";
export { useSwitch, useSwitchContext } from "@ark-ui/react/switch";
export type { UseSwitchProps, UseSwitchReturn } from "@ark-ui/react/switch";
export * as Switch from "./namespace";