@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
9 lines (8 loc) • 1.09 kB
text/typescript
export type { CheckedChangeDetails } from '@zag-js/switch';
export { SwitchContext as Context, type SwitchContextProps as ContextProps } from './switch-context';
export { SwitchControl as Control, type SwitchControlBaseProps as ControlBaseProps, type SwitchControlProps as ControlProps, } from './switch-control';
export { SwitchHiddenInput as HiddenInput, type SwitchHiddenInputBaseProps as HiddenInputBaseProps, type SwitchHiddenInputProps as HiddenInputProps, } from './switch-hidden-input';
export { SwitchLabel as Label, type SwitchLabelBaseProps as LabelBaseProps, type SwitchLabelProps as LabelProps, } from './switch-label';
export { SwitchRoot as Root, type SwitchRootBaseProps as RootBaseProps, type SwitchRootProps as RootProps, } from './switch-root';
export { SwitchRootProvider as RootProvider, type SwitchRootProviderBaseProps as RootProviderBaseProps, type SwitchRootProviderProps as RootProviderProps, } from './switch-root-provider';
export { SwitchThumb as Thumb, type SwitchThumbBaseProps as ThumbBaseProps, type SwitchThumbProps as ThumbProps, } from './switch-thumb';