-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathFocusZoneNativeComponent.ts
More file actions
25 lines (21 loc) · 1 KB
/
FocusZoneNativeComponent.ts
File metadata and controls
25 lines (21 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
* @format
*/
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import type { ViewProps } from 'react-native';
import type { WithDefault, UnsafeMixed } from 'react-native/Libraries/Types/CodegenTypes';
// Should be:
// import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
export interface NativeProps extends ViewProps {
navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
defaultTabbableElement?: UnsafeMixed;
focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
use2DNavigation?: boolean;
tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
disabled?: boolean;
isTabNavigation?: boolean;
navigationOrderInRenderOrder?: boolean;
}
export default codegenNativeComponent<NativeProps>('RCTFocusZone');