UNPKG

react-native-a11y

Version:

Improvements of a11y for ReactNative, this library improve work with reader and keyboard focus and reader in general.

17 lines 920 B
import React from 'react'; import type { A11yOrderInfo, IA11yModule, StatusCallback } from './A11yModule.types'; import * as RCA11yModule from './RCA11yModule'; declare class A11yAndroidImpl implements IA11yModule { announceForAccessibility(announcement: string): void; isKeyboardConnected: typeof RCA11yModule.isKeyboardConnected; keyboardStatusListener: (callback: StatusCallback) => () => void; setKeyboardFocus(ref: React.RefObject<React.Component | null>): void; focusFirstInteractiveElement: (ref: React.RefObject<React.Component | null>) => void; announceScreenChange(announcement: string): void; setPreferredKeyboardFocus: () => void; setA11yFocus(ref: React.RefObject<React.Component | null>): void; setA11yElementsOrder: <T>({ views }: A11yOrderInfo<T>) => void; } export declare const A11yModule: A11yAndroidImpl; export {}; //# sourceMappingURL=A11yModule.android.d.ts.map