clwy-react-native-tableview-simple 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,202 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders with accessory 1`] = `
4
+ <View>
5
+ <RCTSafeAreaView
6
+ style={
7
+ [
8
+ {
9
+ "backgroundColor": "#FFF",
10
+ },
11
+ {
12
+ "flexGrow": 1,
13
+ },
14
+ ]
15
+ }
16
+ >
17
+ <View
18
+ style={
19
+ [
20
+ {
21
+ "alignItems": "center",
22
+ "flexDirection": "row",
23
+ "minHeight": 44,
24
+ "paddingLeft": 15,
25
+ "paddingRight": 20,
26
+ },
27
+ {},
28
+ ]
29
+ }
30
+ >
31
+ <View
32
+ style={
33
+ {
34
+ "alignItems": "center",
35
+ "flexBasis": 0,
36
+ "flexDirection": "row",
37
+ "flexGrow": 1,
38
+ "justifyContent": "center",
39
+ "paddingVertical": 10,
40
+ }
41
+ }
42
+ >
43
+ <Text
44
+ allowFontScaling={true}
45
+ numberOfLines={1}
46
+ style={
47
+ [
48
+ {
49
+ "flexGrow": 1,
50
+ "fontSize": 16,
51
+ "letterSpacing": -0.32,
52
+ },
53
+ {
54
+ "color": "#000",
55
+ },
56
+ {},
57
+ ]
58
+ }
59
+ >
60
+ RightDetail
61
+ </Text>
62
+ <Text
63
+ allowFontScaling={true}
64
+ numberOfLines={1}
65
+ style={
66
+ [
67
+ {
68
+ "alignSelf": "center",
69
+ "color": "#8E8E93",
70
+ "fontSize": 16,
71
+ "letterSpacing": -0.32,
72
+ },
73
+ {
74
+ "color": "#8E8E93",
75
+ },
76
+ {},
77
+ ]
78
+ }
79
+ >
80
+ Detail
81
+ </Text>
82
+ </View>
83
+ <View
84
+ style={
85
+ {
86
+ "justifyContent": "center",
87
+ }
88
+ }
89
+ >
90
+ <View
91
+ style={
92
+ [
93
+ {
94
+ "backgroundColor": "transparent",
95
+ "borderColor": "#c7c7cc",
96
+ "borderRightWidth": 1,
97
+ "borderTopWidth": 1,
98
+ "height": 10,
99
+ "marginLeft": 7,
100
+ "transform": [
101
+ {
102
+ "rotate": "45deg",
103
+ },
104
+ ],
105
+ "width": 10,
106
+ },
107
+ {
108
+ "borderColor": "#C7C7CC",
109
+ },
110
+ ]
111
+ }
112
+ />
113
+ </View>
114
+ </View>
115
+ </RCTSafeAreaView>
116
+ </View>
117
+ `;
118
+
119
+ exports[`renders with right detail 1`] = `
120
+ <View>
121
+ <RCTSafeAreaView
122
+ style={
123
+ [
124
+ {
125
+ "backgroundColor": "#FFF",
126
+ },
127
+ {
128
+ "flexGrow": 1,
129
+ },
130
+ ]
131
+ }
132
+ >
133
+ <View
134
+ style={
135
+ [
136
+ {
137
+ "alignItems": "center",
138
+ "flexDirection": "row",
139
+ "minHeight": 44,
140
+ "paddingLeft": 15,
141
+ "paddingRight": 20,
142
+ },
143
+ {},
144
+ ]
145
+ }
146
+ >
147
+ <View
148
+ style={
149
+ {
150
+ "alignItems": "center",
151
+ "flexBasis": 0,
152
+ "flexDirection": "row",
153
+ "flexGrow": 1,
154
+ "justifyContent": "center",
155
+ "paddingVertical": 10,
156
+ }
157
+ }
158
+ >
159
+ <Text
160
+ allowFontScaling={true}
161
+ numberOfLines={1}
162
+ style={
163
+ [
164
+ {
165
+ "flexGrow": 1,
166
+ "fontSize": 16,
167
+ "letterSpacing": -0.32,
168
+ },
169
+ {
170
+ "color": "#000",
171
+ },
172
+ {},
173
+ ]
174
+ }
175
+ >
176
+ RightDetail
177
+ </Text>
178
+ <Text
179
+ allowFontScaling={true}
180
+ numberOfLines={1}
181
+ style={
182
+ [
183
+ {
184
+ "alignSelf": "center",
185
+ "color": "#8E8E93",
186
+ "fontSize": 16,
187
+ "letterSpacing": -0.32,
188
+ },
189
+ {
190
+ "color": "#8E8E93",
191
+ },
192
+ {},
193
+ ]
194
+ }
195
+ >
196
+ Detail
197
+ </Text>
198
+ </View>
199
+ </View>
200
+ </RCTSafeAreaView>
201
+ </View>
202
+ `;
@@ -0,0 +1,226 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders with accessory 1`] = `
4
+ <View>
5
+ <RCTSafeAreaView
6
+ style={
7
+ [
8
+ {
9
+ "backgroundColor": "#FFF",
10
+ },
11
+ {
12
+ "flexGrow": 1,
13
+ },
14
+ ]
15
+ }
16
+ >
17
+ <View
18
+ style={
19
+ [
20
+ {
21
+ "alignItems": "center",
22
+ "flexDirection": "row",
23
+ "minHeight": 44,
24
+ "paddingLeft": 15,
25
+ "paddingRight": 20,
26
+ },
27
+ {},
28
+ ]
29
+ }
30
+ >
31
+ <View
32
+ style={
33
+ [
34
+ {
35
+ "alignItems": "center",
36
+ "flexBasis": 0,
37
+ "flexDirection": "row",
38
+ "flexGrow": 1,
39
+ "justifyContent": "center",
40
+ "paddingVertical": 10,
41
+ },
42
+ {
43
+ "paddingVertical": 4,
44
+ },
45
+ ]
46
+ }
47
+ >
48
+ <View
49
+ style={
50
+ {
51
+ "flexDirection": "column",
52
+ "flexGrow": 1,
53
+ }
54
+ }
55
+ >
56
+ <Text
57
+ allowFontScaling={true}
58
+ numberOfLines={1}
59
+ style={
60
+ [
61
+ {
62
+ "flexGrow": 1,
63
+ "fontSize": 16,
64
+ "letterSpacing": -0.32,
65
+ },
66
+ {
67
+ "color": "#000",
68
+ },
69
+ {},
70
+ ]
71
+ }
72
+ >
73
+ Subtitle
74
+ </Text>
75
+ <Text
76
+ allowFontScaling={true}
77
+ numberOfLines={1}
78
+ style={
79
+ [
80
+ {
81
+ "fontSize": 11,
82
+ "letterSpacing": 0.066,
83
+ },
84
+ {
85
+ "color": "#000",
86
+ },
87
+ {},
88
+ ]
89
+ }
90
+ >
91
+ No linebreakkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
92
+ </Text>
93
+ </View>
94
+ </View>
95
+ <View
96
+ style={
97
+ {
98
+ "justifyContent": "center",
99
+ }
100
+ }
101
+ >
102
+ <View
103
+ style={
104
+ [
105
+ {
106
+ "backgroundColor": "transparent",
107
+ "borderColor": "#c7c7cc",
108
+ "borderRightWidth": 1,
109
+ "borderTopWidth": 1,
110
+ "height": 10,
111
+ "marginLeft": 7,
112
+ "transform": [
113
+ {
114
+ "rotate": "45deg",
115
+ },
116
+ ],
117
+ "width": 10,
118
+ },
119
+ {
120
+ "borderColor": "#C7C7CC",
121
+ },
122
+ ]
123
+ }
124
+ />
125
+ </View>
126
+ </View>
127
+ </RCTSafeAreaView>
128
+ </View>
129
+ `;
130
+
131
+ exports[`renders with subtitle 1`] = `
132
+ <View>
133
+ <RCTSafeAreaView
134
+ style={
135
+ [
136
+ {
137
+ "backgroundColor": "#FFF",
138
+ },
139
+ {
140
+ "flexGrow": 1,
141
+ },
142
+ ]
143
+ }
144
+ >
145
+ <View
146
+ style={
147
+ [
148
+ {
149
+ "alignItems": "center",
150
+ "flexDirection": "row",
151
+ "minHeight": 44,
152
+ "paddingLeft": 15,
153
+ "paddingRight": 20,
154
+ },
155
+ {},
156
+ ]
157
+ }
158
+ >
159
+ <View
160
+ style={
161
+ [
162
+ {
163
+ "alignItems": "center",
164
+ "flexBasis": 0,
165
+ "flexDirection": "row",
166
+ "flexGrow": 1,
167
+ "justifyContent": "center",
168
+ "paddingVertical": 10,
169
+ },
170
+ {
171
+ "paddingVertical": 4,
172
+ },
173
+ ]
174
+ }
175
+ >
176
+ <View
177
+ style={
178
+ {
179
+ "flexDirection": "column",
180
+ "flexGrow": 1,
181
+ }
182
+ }
183
+ >
184
+ <Text
185
+ allowFontScaling={true}
186
+ numberOfLines={1}
187
+ style={
188
+ [
189
+ {
190
+ "flexGrow": 1,
191
+ "fontSize": 16,
192
+ "letterSpacing": -0.32,
193
+ },
194
+ {
195
+ "color": "#000",
196
+ },
197
+ {},
198
+ ]
199
+ }
200
+ >
201
+ Subtitle
202
+ </Text>
203
+ <Text
204
+ allowFontScaling={true}
205
+ numberOfLines={1}
206
+ style={
207
+ [
208
+ {
209
+ "fontSize": 11,
210
+ "letterSpacing": 0.066,
211
+ },
212
+ {
213
+ "color": "#000",
214
+ },
215
+ {},
216
+ ]
217
+ }
218
+ >
219
+ No linebreakkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
220
+ </Text>
221
+ </View>
222
+ </View>
223
+ </View>
224
+ </RCTSafeAreaView>
225
+ </View>
226
+ `;