1 | 'use strict';
|
2 |
|
3 | export const PropsAllowlists = {
|
4 |
|
5 | UI_THREAD_PROPS_WHITELIST: {
|
6 | opacity: true,
|
7 | transform: true,
|
8 |
|
9 | backgroundColor: true,
|
10 | borderRightColor: true,
|
11 | borderBottomColor: true,
|
12 | borderColor: true,
|
13 | borderEndColor: true,
|
14 | borderLeftColor: true,
|
15 | borderStartColor: true,
|
16 | borderTopColor: true,
|
17 |
|
18 | shadowOpacity: true,
|
19 | shadowRadius: true,
|
20 |
|
21 | scaleX: true,
|
22 | scaleY: true,
|
23 | translateX: true,
|
24 | translateY: true
|
25 | },
|
26 | |
27 |
|
28 |
|
29 |
|
30 | NATIVE_THREAD_PROPS_WHITELIST: {
|
31 | borderBottomWidth: true,
|
32 | borderEndWidth: true,
|
33 | borderLeftWidth: true,
|
34 | borderRightWidth: true,
|
35 | borderStartWidth: true,
|
36 | borderTopWidth: true,
|
37 | borderWidth: true,
|
38 | bottom: true,
|
39 | flex: true,
|
40 | flexGrow: true,
|
41 | flexShrink: true,
|
42 | height: true,
|
43 | left: true,
|
44 | margin: true,
|
45 | marginBottom: true,
|
46 | marginEnd: true,
|
47 | marginHorizontal: true,
|
48 | marginLeft: true,
|
49 | marginRight: true,
|
50 | marginStart: true,
|
51 | marginTop: true,
|
52 | marginVertical: true,
|
53 | maxHeight: true,
|
54 | maxWidth: true,
|
55 | minHeight: true,
|
56 | minWidth: true,
|
57 | padding: true,
|
58 | paddingBottom: true,
|
59 | paddingEnd: true,
|
60 | paddingHorizontal: true,
|
61 | paddingLeft: true,
|
62 | paddingRight: true,
|
63 | paddingStart: true,
|
64 | paddingTop: true,
|
65 | paddingVertical: true,
|
66 | right: true,
|
67 | start: true,
|
68 | top: true,
|
69 | width: true,
|
70 | zIndex: true,
|
71 | borderBottomEndRadius: true,
|
72 | borderBottomLeftRadius: true,
|
73 | borderBottomRightRadius: true,
|
74 | borderBottomStartRadius: true,
|
75 | borderRadius: true,
|
76 | borderTopEndRadius: true,
|
77 | borderTopLeftRadius: true,
|
78 | borderTopRightRadius: true,
|
79 | borderTopStartRadius: true,
|
80 | elevation: true,
|
81 | fontSize: true,
|
82 | lineHeight: true,
|
83 | textShadowRadius: true,
|
84 | textShadowOffset: true,
|
85 | letterSpacing: true,
|
86 | aspectRatio: true,
|
87 | columnGap: true,
|
88 |
|
89 | end: true,
|
90 |
|
91 | flexBasis: true,
|
92 |
|
93 | gap: true,
|
94 | rowGap: true,
|
95 |
|
96 | display: true,
|
97 | backfaceVisibility: true,
|
98 | overflow: true,
|
99 | resizeMode: true,
|
100 | fontStyle: true,
|
101 | fontWeight: true,
|
102 | textAlign: true,
|
103 | textDecorationLine: true,
|
104 | fontFamily: true,
|
105 | textAlignVertical: true,
|
106 | fontVariant: true,
|
107 | textDecorationStyle: true,
|
108 | textTransform: true,
|
109 | writingDirection: true,
|
110 | alignContent: true,
|
111 | alignItems: true,
|
112 | alignSelf: true,
|
113 | direction: true,
|
114 |
|
115 | flexDirection: true,
|
116 | flexWrap: true,
|
117 | justifyContent: true,
|
118 | position: true,
|
119 |
|
120 | color: true,
|
121 | tintColor: true,
|
122 | shadowColor: true,
|
123 | placeholderTextColor: true
|
124 | }
|
125 | };
|
126 |
|
\ | No newline at end of file |