export * from './switch'; import { SlottablePressableProps, PressableRef, SlottableViewProps, ViewRef } from '@rn-primitives/types'; type RootProps = SlottablePressableProps & { checked: boolean; onCheckedChange: (checked: boolean) => void; disabled?: boolean; /** * Platform: WEB ONLY */ onKeyDown?: (ev: React.KeyboardEvent) => void; }; type ThumbProps = SlottableViewProps; type RootRef = PressableRef; type ThumbRef = ViewRef; export type { RootProps, RootRef, ThumbProps, ThumbRef };