UNPKG

react-native-a11y

Version:

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

27 lines 969 B
import React from 'react'; import { TextInput, type TextInputProps, type StyleProp, type ViewStyle } from 'react-native'; import { type OnTextFocusChange } from '../../nativeSpecs/A11yTextInputWrapperNativeComponent'; declare const focusMap: { default: number; press: number; auto: number; }; declare const blurMap: { default: number; disable: number; auto: number; }; export type KeyboardFocusTextInputProps = TextInputProps & { focusType?: keyof typeof focusMap; blurType?: keyof typeof blurMap; containerStyle?: StyleProp<ViewStyle>; onFocusChange?: OnTextFocusChange; }; export declare const KeyboardFocusTextInput: React.ForwardRefExoticComponent<TextInputProps & { focusType?: keyof typeof focusMap; blurType?: keyof typeof blurMap; containerStyle?: StyleProp<ViewStyle>; onFocusChange?: OnTextFocusChange; } & React.RefAttributes<TextInput>>; export {}; //# sourceMappingURL=KeyboardFocusTextInput.d.ts.map