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