UNPKG

react-native-a11y-order

Version:

ReactNative library for managing screen reader focus ordering

18 lines 830 B
/// <reference types="react-native/types/modules/codegen" /> /// <reference types="react-native/types/modules/codegen" /> /// <reference types="react-native/codegen" /> import { ComponentType } from 'react'; import type { ViewProps } from 'react-native'; import { Int32 } from 'react-native/Libraries/Types/CodegenTypes'; export interface A11yIndexNativeComponentProps extends ViewProps { orderIndex: Int32; orderKey: string; orderFocusType: Int32; } export interface NativeCommands { focus: (viewRef: React.ElementRef<ComponentType>) => void; } export declare const Commands: NativeCommands; declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yIndexNativeComponentProps>; export default _default; //# sourceMappingURL=A11yIndexNativeComponent.d.ts.map