|
3 | 3 | exports[`ActionView should render correctly 1`] = ` |
4 | 4 | <View |
5 | 5 | style={ |
6 | | - [ |
7 | | - { |
8 | | - "flex": 1, |
9 | | - }, |
10 | | - { |
11 | | - "flex": 1, |
12 | | - "flexDirection": "column", |
13 | | - "height": "100%", |
14 | | - }, |
15 | | - ] |
| 6 | + { |
| 7 | + "flex": 1, |
| 8 | + } |
16 | 9 | } |
17 | 10 | > |
18 | 11 | <RCTScrollView |
@@ -54,144 +47,170 @@ exports[`ActionView should render correctly 1`] = ` |
54 | 47 | "flex": 1, |
55 | 48 | }, |
56 | 49 | undefined, |
57 | | - { |
58 | | - "flex": 1, |
59 | | - "flexDirection": "column", |
60 | | - "height": "100%", |
61 | | - }, |
62 | 50 | ] |
63 | 51 | } |
64 | 52 | update={[Function]} |
65 | 53 | viewIsInsideTabBar={false} |
66 | 54 | > |
67 | 55 | <View> |
68 | 56 | <View |
69 | | - style={ |
| 57 | + accessibilityState={ |
70 | 58 | { |
71 | | - "flex": 1, |
72 | | - "flexDirection": "column", |
73 | | - "justifyContent": "space-between", |
| 59 | + "busy": undefined, |
| 60 | + "checked": undefined, |
| 61 | + "disabled": undefined, |
| 62 | + "expanded": undefined, |
| 63 | + "selected": undefined, |
74 | 64 | } |
75 | 65 | } |
| 66 | + accessible={true} |
| 67 | + focusable={true} |
| 68 | + onClick={[Function]} |
| 69 | + onResponderGrant={[Function]} |
| 70 | + onResponderMove={[Function]} |
| 71 | + onResponderRelease={[Function]} |
| 72 | + onResponderTerminate={[Function]} |
| 73 | + onResponderTerminationRequest={[Function]} |
| 74 | + onStartShouldSetResponder={[Function]} |
76 | 75 | > |
77 | | - <View |
78 | | - accessibilityState={ |
79 | | - { |
80 | | - "busy": undefined, |
81 | | - "checked": undefined, |
82 | | - "disabled": undefined, |
83 | | - "expanded": undefined, |
84 | | - "selected": undefined, |
85 | | - } |
| 76 | + <Text> |
| 77 | + Confirm |
| 78 | + </Text> |
| 79 | + </View> |
| 80 | + <View |
| 81 | + style={ |
| 82 | + { |
| 83 | + "flex": 0, |
| 84 | + "flexDirection": "row", |
| 85 | + "paddingHorizontal": 24, |
| 86 | + "paddingVertical": 16, |
86 | 87 | } |
| 88 | + } |
| 89 | + > |
| 90 | + <TouchableOpacity |
| 91 | + accessibilityRole="button" |
87 | 92 | accessible={true} |
88 | | - focusable={true} |
89 | | - onClick={[Function]} |
90 | | - onResponderGrant={[Function]} |
91 | | - onResponderMove={[Function]} |
92 | | - onResponderRelease={[Function]} |
93 | | - onResponderTerminate={[Function]} |
94 | | - onResponderTerminationRequest={[Function]} |
95 | | - onStartShouldSetResponder={[Function]} |
96 | | - > |
97 | | - <Text> |
98 | | - Confirm |
99 | | - </Text> |
100 | | - </View> |
101 | | - <View |
| 93 | + activeOpacity={0.2} |
| 94 | + disabled={false} |
102 | 95 | style={ |
103 | 96 | [ |
104 | | - { |
105 | | - "columnGap": 8, |
106 | | - "flexDirection": "row", |
107 | | - "marginBottom": 16, |
108 | | - "paddingHorizontal": 16, |
109 | | - "width": "100%", |
110 | | - }, |
111 | | - undefined, |
| 97 | + [ |
| 98 | + { |
| 99 | + "borderRadius": 100, |
| 100 | + "justifyContent": "center", |
| 101 | + "padding": 15, |
| 102 | + }, |
| 103 | + { |
| 104 | + "backgroundColor": "#ffffff", |
| 105 | + "borderColor": "#686e7d", |
| 106 | + "borderWidth": 1, |
| 107 | + }, |
| 108 | + [ |
| 109 | + { |
| 110 | + "flex": 1, |
| 111 | + }, |
| 112 | + { |
| 113 | + "marginRight": 8, |
| 114 | + }, |
| 115 | + ], |
| 116 | + ], |
| 117 | + null, |
112 | 118 | ] |
113 | 119 | } |
| 120 | + testID="" |
114 | 121 | > |
115 | | - <TouchableOpacity |
116 | | - accessibilityRole="button" |
117 | | - accessible={true} |
118 | | - activeOpacity={1} |
119 | | - disabled={false} |
120 | | - onPressIn={[Function]} |
121 | | - onPressOut={[Function]} |
| 122 | + <Text |
122 | 123 | style={ |
123 | | - { |
124 | | - "alignItems": "center", |
125 | | - "alignSelf": "stretch", |
126 | | - "backgroundColor": "transparent", |
127 | | - "borderColor": "#4459ff", |
128 | | - "borderRadius": 12, |
129 | | - "borderWidth": 1, |
130 | | - "flex": 1, |
131 | | - "flexDirection": "row", |
132 | | - "height": 48, |
133 | | - "justifyContent": "center", |
134 | | - "paddingHorizontal": 16, |
135 | | - } |
136 | | - } |
137 | | - testID="" |
138 | | - > |
139 | | - <Text |
140 | | - accessibilityRole="text" |
141 | | - style={ |
| 124 | + [ |
142 | 125 | { |
143 | | - "color": "#4459ff", |
144 | | - "fontFamily": "CentraNo1-Medium", |
145 | | - "fontSize": 16, |
| 126 | + "color": "#007aff", |
| 127 | + "fontSize": 17, |
146 | 128 | "fontWeight": "500", |
147 | | - "letterSpacing": 0, |
148 | | - "lineHeight": 24, |
149 | | - } |
150 | | - } |
151 | | - > |
152 | | - Cancel |
153 | | - </Text> |
154 | | - </TouchableOpacity> |
155 | | - <TouchableOpacity |
156 | | - accessibilityRole="button" |
157 | | - accessible={true} |
158 | | - activeOpacity={1} |
159 | | - disabled={false} |
160 | | - loading={false} |
161 | | - onPressIn={[Function]} |
162 | | - onPressOut={[Function]} |
163 | | - style={ |
164 | | - { |
165 | | - "alignItems": "center", |
166 | | - "alignSelf": "stretch", |
167 | | - "backgroundColor": "#4459ff", |
168 | | - "borderRadius": 12, |
169 | | - "flex": 1, |
170 | | - "flexDirection": "row", |
171 | | - "height": 48, |
172 | | - "justifyContent": "center", |
173 | | - "paddingHorizontal": 16, |
174 | | - } |
| 129 | + "textAlign": "center", |
| 130 | + }, |
| 131 | + null, |
| 132 | + [ |
| 133 | + { |
| 134 | + "fontFamily": "CentraNo1-Bold", |
| 135 | + "fontSize": 14, |
| 136 | + "fontWeight": "600", |
| 137 | + "textAlign": "center", |
| 138 | + }, |
| 139 | + { |
| 140 | + "color": "#686e7d", |
| 141 | + }, |
| 142 | + undefined, |
| 143 | + ], |
| 144 | + null, |
| 145 | + ] |
175 | 146 | } |
176 | | - testID="" |
177 | 147 | > |
178 | | - <Text |
179 | | - accessibilityRole="text" |
180 | | - style={ |
| 148 | + Cancel |
| 149 | + </Text> |
| 150 | + </TouchableOpacity> |
| 151 | + <TouchableOpacity |
| 152 | + accessibilityRole="button" |
| 153 | + accessible={true} |
| 154 | + activeOpacity={0.2} |
| 155 | + disabled={false} |
| 156 | + style={ |
| 157 | + [ |
| 158 | + [ |
| 159 | + { |
| 160 | + "borderRadius": 100, |
| 161 | + "justifyContent": "center", |
| 162 | + "padding": 15, |
| 163 | + }, |
181 | 164 | { |
182 | | - "color": "#ffffff", |
183 | | - "fontFamily": "CentraNo1-Medium", |
184 | | - "fontSize": 16, |
| 165 | + "backgroundColor": "#ffffff", |
| 166 | + "borderColor": "#4459ff", |
| 167 | + "borderWidth": 1, |
| 168 | + }, |
| 169 | + [ |
| 170 | + { |
| 171 | + "flex": 1, |
| 172 | + }, |
| 173 | + { |
| 174 | + "marginLeft": 8, |
| 175 | + }, |
| 176 | + {}, |
| 177 | + {}, |
| 178 | + ], |
| 179 | + ], |
| 180 | + null, |
| 181 | + ] |
| 182 | + } |
| 183 | + testID="" |
| 184 | + > |
| 185 | + <Text |
| 186 | + style={ |
| 187 | + [ |
| 188 | + { |
| 189 | + "color": "#007aff", |
| 190 | + "fontSize": 17, |
185 | 191 | "fontWeight": "500", |
186 | | - "letterSpacing": 0, |
187 | | - "lineHeight": 24, |
188 | | - } |
189 | | - } |
190 | | - > |
191 | | - Confirm |
192 | | - </Text> |
193 | | - </TouchableOpacity> |
194 | | - </View> |
| 192 | + "textAlign": "center", |
| 193 | + }, |
| 194 | + null, |
| 195 | + [ |
| 196 | + { |
| 197 | + "fontFamily": "CentraNo1-Bold", |
| 198 | + "fontSize": 14, |
| 199 | + "fontWeight": "600", |
| 200 | + "textAlign": "center", |
| 201 | + }, |
| 202 | + { |
| 203 | + "color": "#4459ff", |
| 204 | + }, |
| 205 | + undefined, |
| 206 | + ], |
| 207 | + null, |
| 208 | + ] |
| 209 | + } |
| 210 | + > |
| 211 | + Confirm |
| 212 | + </Text> |
| 213 | + </TouchableOpacity> |
195 | 214 | </View> |
196 | 215 | </View> |
197 | 216 | </RCTScrollView> |
|
0 commit comments