react-native-a11y-order
Version:
ReactNative library for managing screen reader focus ordering
18 lines (13 loc) • 354 B
text/typescript
import { ViewProps } from 'react-native';
export type IndexCommands = { focus: () => void };
export enum A11yOrderTypeEnum {
default = 0,
child = 1,
legacy = 2,
}
export type A11yOrderType = keyof typeof A11yOrderTypeEnum;
export type A11yIndexProps = {
children: React.ReactNode;
index: number;
orderType?: A11yOrderType;
} & ViewProps;