UNPKG

2.07 kBtext/x-cView Raw
1typedef NS_ENUM(NSInteger, RNSScreenStackPresentation) {
2 RNSScreenStackPresentationPush,
3 RNSScreenStackPresentationModal,
4 RNSScreenStackPresentationTransparentModal,
5 RNSScreenStackPresentationContainedModal,
6 RNSScreenStackPresentationContainedTransparentModal,
7 RNSScreenStackPresentationFullScreenModal,
8 RNSScreenStackPresentationFormSheet
9};
10
11typedef NS_ENUM(NSInteger, RNSScreenStackAnimation) {
12 RNSScreenStackAnimationDefault,
13 RNSScreenStackAnimationNone,
14 RNSScreenStackAnimationFade,
15 RNSScreenStackAnimationFadeFromBottom,
16 RNSScreenStackAnimationFlip,
17 RNSScreenStackAnimationSlideFromBottom,
18 RNSScreenStackAnimationSimplePush,
19 RNSScreenStackAnimationSlideFromLeft,
20};
21
22typedef NS_ENUM(NSInteger, RNSScreenReplaceAnimation) {
23 RNSScreenReplaceAnimationPop,
24 RNSScreenReplaceAnimationPush,
25};
26
27typedef NS_ENUM(NSInteger, RNSScreenSwipeDirection) {
28 RNSScreenSwipeDirectionHorizontal,
29 RNSScreenSwipeDirectionVertical,
30};
31
32typedef NS_ENUM(NSInteger, RNSActivityState) {
33 RNSActivityStateInactive = 0,
34 RNSActivityStateTransitioningOrBelowTop = 1,
35 RNSActivityStateOnTop = 2
36};
37
38typedef NS_ENUM(NSInteger, RNSStatusBarStyle) {
39 RNSStatusBarStyleAuto,
40 RNSStatusBarStyleInverted,
41 RNSStatusBarStyleLight,
42 RNSStatusBarStyleDark,
43};
44
45typedef NS_ENUM(NSInteger, RNSWindowTrait) {
46 RNSWindowTraitStyle,
47 RNSWindowTraitAnimation,
48 RNSWindowTraitHidden,
49 RNSWindowTraitOrientation,
50 RNSWindowTraitHomeIndicatorHidden,
51};
52
53typedef NS_ENUM(NSInteger, RNSScreenStackHeaderSubviewType) {
54 RNSScreenStackHeaderSubviewTypeBackButton,
55 RNSScreenStackHeaderSubviewTypeLeft,
56 RNSScreenStackHeaderSubviewTypeRight,
57 RNSScreenStackHeaderSubviewTypeTitle,
58 RNSScreenStackHeaderSubviewTypeCenter,
59 RNSScreenStackHeaderSubviewTypeSearchBar,
60};
61
62typedef NS_ENUM(NSInteger, RNSScreenDetentType) {
63 RNSScreenDetentTypeMedium,
64 RNSScreenDetentTypeLarge,
65 RNSScreenDetentTypeAll,
66};
67
68typedef NS_ENUM(NSInteger, RNSSearchBarPlacement) {
69 RNSSearchBarPlacementAutomatic,
70 RNSSearchBarPlacementInline,
71 RNSSearchBarPlacementStacked,
72};