react-native-a11y
Version:
Improvements of a11y for ReactNative, this library improve work with reader and keyboard focus and reader in general.
23 lines (19 loc) • 646 B
text/typescript
/* eslint-disable import/no-unresolved */
import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent";
import type { ViewProps } from "react-native";
import type {
DirectEventHandler,
Int32,
} from "react-native/Libraries/Types/CodegenTypes";
export type FocusChange = Readonly<{
isFocused: boolean;
}>;
export interface A11yTextInputWrapperNativeComponent extends ViewProps {
onFocusChange?: DirectEventHandler<FocusChange>;
focusType?: Int32;
blurType?: Int32;
canBeFocused?: boolean;
}
export default codegenNativeComponent<A11yTextInputWrapperNativeComponent>(
"RCA11yTextInputWrapper",
);