UNPKG

react-native-a11y

Version:

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

14 lines (13 loc) 852 B
import React from "react"; import { View } from "react-native"; export declare const KeyboardFocusView: React.ForwardRefExoticComponent<import("react-native").ViewProps & { onFocusChange?: import("./RCA11yFocusWrapper").OnFocusChangeFn | undefined; onKeyUpPress?: import("./RCA11yFocusWrapper").OnKeyPressFn | undefined; onKeyDownPress?: import("./RCA11yFocusWrapper").OnKeyPressFn | undefined; canBeFocused?: boolean | undefined; } & { focusStyle?: import("./KeyboardFocusView.types").FocusStyle; onPress?: ((e: import("./RCA11yFocusWrapper").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("./RCA11yFocusWrapper").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined; withView?: boolean | undefined; } & React.RefAttributes<View>>;