UNPKG

react-waitlist

Version:

A customizable waitlist form component for React applications

24 lines (23 loc) 586 B
/** * Hook to handle reduced motion preferences */ export declare const useReducedMotion: () => boolean; /** * Hook to handle high contrast preferences */ export declare const useHighContrast: () => boolean; /** * Hook to get ARIA labels */ export declare const useAriaLabels: () => { [key: string]: string; form: string; emailField: string; submitButton: string; successMessage: string; errorMessage: string; }; /** * Hook to announce messages to screen readers */ export declare const useAnnounce: () => (message: string, assertive?: boolean) => void;