UNPKG

react-native-a11y

Version:

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

15 lines (14 loc) 882 B
import React from "react"; import type { View } from "react-native"; import { OnFocusChangeFn } from "./RCA11yFocusWrapper"; export declare const KeyboardFocusView: React.ForwardRefExoticComponent<import("react-native").ViewProps & { onFocusChange?: 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>>;