@gluestack-ui/core
Version:
Universal UI components for React Native, Expo, and Next.js
10 lines • 418 B
TypeScript
import type { AriaSwitchProps } from '@react-types/switch';
import type { RefObject } from 'react';
import type { ToggleState } from '@react-stately/toggle';
export interface SwitchAria {
inputProps: any;
}
export declare function useSwitch(props: AriaSwitchProps & {
accessibilityLabel?: string;
}, state: ToggleState, ref: RefObject<HTMLInputElement>): SwitchAria;
//# sourceMappingURL=useSwitch.web.d.ts.map