rn-css 1.4.4 → 1.5.3
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.
- package/README.md +10 -0
- package/dist/convertStyle.js +7 -7
- package/dist/convertUnits.js +5 -3
- package/dist/cssToRN/index.js +13 -13
- package/dist/cssToRN/mediaQueries.js +2 -2
- package/dist/features.js +3 -3
- package/dist/index.d.ts +129 -216
- package/dist/index.js +5 -6
- package/dist/styleComponent.d.ts +1 -0
- package/dist/styleComponent.js +12 -12
- package/dist/useTheme.d.ts +17 -0
- package/dist/useTheme.js +31 -0
- package/package.json +33 -33
- package/src/convertUnits.ts +1 -0
- package/src/index.tsx +1 -5
- package/src/styleComponent.tsx +2 -2
- package/src/useTheme.tsx +27 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import * as RN from 'react-native';
|
|
|
3
3
|
export { cssToRNStyle } from './cssToRN';
|
|
4
4
|
export { FontSizeContext } from './features';
|
|
5
5
|
export { SharedValue } from './styleComponent';
|
|
6
|
+
export * from './useTheme';
|
|
6
7
|
declare const styled: {
|
|
7
8
|
<T>(Component: React.ComponentType<T>): {
|
|
8
9
|
<S>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S & T & {
|
|
9
10
|
rnCSS?: string | undefined;
|
|
10
11
|
shared: unknown;
|
|
12
|
+
theme: unknown;
|
|
11
13
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<T & S & {
|
|
12
14
|
rnCSS?: `${string};` | undefined;
|
|
13
15
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -21,6 +23,7 @@ declare const styled: {
|
|
|
21
23
|
attrs<S_1>(opts: Partial<S_1 & T> | ((props: S_1 & T) => Partial<S_1 & T>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_1 & T & {
|
|
22
24
|
rnCSS?: string | undefined;
|
|
23
25
|
shared: unknown;
|
|
26
|
+
theme: unknown;
|
|
24
27
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(T | S_1) & {
|
|
25
28
|
rnCSS?: `${string};` | undefined;
|
|
26
29
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -36,6 +39,7 @@ declare const styled: {
|
|
|
36
39
|
<S_2>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_2 & RN.ActivityIndicatorProps & {
|
|
37
40
|
rnCSS?: string | undefined;
|
|
38
41
|
shared: unknown;
|
|
42
|
+
theme: unknown;
|
|
39
43
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ActivityIndicatorProps & S_2 & {
|
|
40
44
|
rnCSS?: `${string};` | undefined;
|
|
41
45
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -49,6 +53,7 @@ declare const styled: {
|
|
|
49
53
|
attrs<S_3>(opts: Partial<S_3 & RN.ActivityIndicatorProps> | ((props: S_3 & RN.ActivityIndicatorProps) => Partial<S_3 & RN.ActivityIndicatorProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_3 & RN.ActivityIndicatorProps & {
|
|
50
54
|
rnCSS?: string | undefined;
|
|
51
55
|
shared: unknown;
|
|
56
|
+
theme: unknown;
|
|
52
57
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ActivityIndicatorProps | S_3) & {
|
|
53
58
|
rnCSS?: `${string};` | undefined;
|
|
54
59
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -64,6 +69,7 @@ declare const styled: {
|
|
|
64
69
|
<S_4>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_4 & RN.ButtonProps & {
|
|
65
70
|
rnCSS?: string | undefined;
|
|
66
71
|
shared: unknown;
|
|
72
|
+
theme: unknown;
|
|
67
73
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ButtonProps & S_4 & {
|
|
68
74
|
rnCSS?: `${string};` | undefined;
|
|
69
75
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -77,6 +83,7 @@ declare const styled: {
|
|
|
77
83
|
attrs<S_5>(opts: Partial<S_5 & RN.ButtonProps> | ((props: S_5 & RN.ButtonProps) => Partial<S_5 & RN.ButtonProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_5 & RN.ButtonProps & {
|
|
78
84
|
rnCSS?: string | undefined;
|
|
79
85
|
shared: unknown;
|
|
86
|
+
theme: unknown;
|
|
80
87
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ButtonProps | S_5) & {
|
|
81
88
|
rnCSS?: `${string};` | undefined;
|
|
82
89
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -92,6 +99,7 @@ declare const styled: {
|
|
|
92
99
|
<S_6>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_6 & RN.DrawerLayoutAndroidProps & {
|
|
93
100
|
rnCSS?: string | undefined;
|
|
94
101
|
shared: unknown;
|
|
102
|
+
theme: unknown;
|
|
95
103
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.DrawerLayoutAndroidProps & S_6 & {
|
|
96
104
|
rnCSS?: `${string};` | undefined;
|
|
97
105
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -105,6 +113,7 @@ declare const styled: {
|
|
|
105
113
|
attrs<S_7>(opts: Partial<S_7 & RN.DrawerLayoutAndroidProps> | ((props: S_7 & RN.DrawerLayoutAndroidProps) => Partial<S_7 & RN.DrawerLayoutAndroidProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_7 & RN.DrawerLayoutAndroidProps & {
|
|
106
114
|
rnCSS?: string | undefined;
|
|
107
115
|
shared: unknown;
|
|
116
|
+
theme: unknown;
|
|
108
117
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.DrawerLayoutAndroidProps | S_7) & {
|
|
109
118
|
rnCSS?: `${string};` | undefined;
|
|
110
119
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -120,6 +129,7 @@ declare const styled: {
|
|
|
120
129
|
<S_8>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_8 & RN.ImageProps & {
|
|
121
130
|
rnCSS?: string | undefined;
|
|
122
131
|
shared: unknown;
|
|
132
|
+
theme: unknown;
|
|
123
133
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ImageProps & S_8 & {
|
|
124
134
|
rnCSS?: `${string};` | undefined;
|
|
125
135
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -133,6 +143,7 @@ declare const styled: {
|
|
|
133
143
|
attrs<S_9>(opts: Partial<S_9 & RN.ImageProps> | ((props: S_9 & RN.ImageProps) => Partial<S_9 & RN.ImageProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_9 & RN.ImageProps & {
|
|
134
144
|
rnCSS?: string | undefined;
|
|
135
145
|
shared: unknown;
|
|
146
|
+
theme: unknown;
|
|
136
147
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ImageProps | S_9) & {
|
|
137
148
|
rnCSS?: `${string};` | undefined;
|
|
138
149
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -148,6 +159,7 @@ declare const styled: {
|
|
|
148
159
|
<S_10>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_10 & RN.ImageBackgroundProps & {
|
|
149
160
|
rnCSS?: string | undefined;
|
|
150
161
|
shared: unknown;
|
|
162
|
+
theme: unknown;
|
|
151
163
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ImageBackgroundProps & S_10 & {
|
|
152
164
|
rnCSS?: `${string};` | undefined;
|
|
153
165
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -161,6 +173,7 @@ declare const styled: {
|
|
|
161
173
|
attrs<S_11>(opts: Partial<S_11 & RN.ImageBackgroundProps> | ((props: S_11 & RN.ImageBackgroundProps) => Partial<S_11 & RN.ImageBackgroundProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_11 & RN.ImageBackgroundProps & {
|
|
162
174
|
rnCSS?: string | undefined;
|
|
163
175
|
shared: unknown;
|
|
176
|
+
theme: unknown;
|
|
164
177
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ImageBackgroundProps | S_11) & {
|
|
165
178
|
rnCSS?: `${string};` | undefined;
|
|
166
179
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -176,6 +189,7 @@ declare const styled: {
|
|
|
176
189
|
<S_12>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_12 & RN.KeyboardAvoidingViewProps & {
|
|
177
190
|
rnCSS?: string | undefined;
|
|
178
191
|
shared: unknown;
|
|
192
|
+
theme: unknown;
|
|
179
193
|
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.KeyboardAvoidingViewProps & S_12 & {
|
|
180
194
|
rnCSS?: `${string};` | undefined;
|
|
181
195
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -189,6 +203,7 @@ declare const styled: {
|
|
|
189
203
|
attrs<S_13>(opts: Partial<S_13 & RN.KeyboardAvoidingViewProps> | ((props: S_13 & RN.KeyboardAvoidingViewProps) => Partial<S_13 & RN.KeyboardAvoidingViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_13 & RN.KeyboardAvoidingViewProps & {
|
|
190
204
|
rnCSS?: string | undefined;
|
|
191
205
|
shared: unknown;
|
|
206
|
+
theme: unknown;
|
|
192
207
|
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.KeyboardAvoidingViewProps | S_13) & {
|
|
193
208
|
rnCSS?: `${string};` | undefined;
|
|
194
209
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -200,39 +215,12 @@ declare const styled: {
|
|
|
200
215
|
ref?: React.Ref<any> | undefined;
|
|
201
216
|
}>;
|
|
202
217
|
};
|
|
203
|
-
ListView: {
|
|
204
|
-
<S_14>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_14 & RN.ListViewProps & {
|
|
205
|
-
rnCSS?: string | undefined;
|
|
206
|
-
shared: unknown;
|
|
207
|
-
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ListViewProps & S_14 & {
|
|
208
|
-
rnCSS?: `${string};` | undefined;
|
|
209
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
210
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
211
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
212
|
-
children?: React.ReactNode;
|
|
213
|
-
style?: any;
|
|
214
|
-
} & {
|
|
215
|
-
ref?: React.Ref<any> | undefined;
|
|
216
|
-
}>;
|
|
217
|
-
attrs<S_15>(opts: Partial<S_15 & RN.ListViewProps> | ((props: S_15 & RN.ListViewProps) => Partial<S_15 & RN.ListViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_15 & RN.ListViewProps & {
|
|
218
|
-
rnCSS?: string | undefined;
|
|
219
|
-
shared: unknown;
|
|
220
|
-
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ListViewProps | S_15) & {
|
|
221
|
-
rnCSS?: `${string};` | undefined;
|
|
222
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
223
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
224
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
225
|
-
children?: React.ReactNode;
|
|
226
|
-
style?: any;
|
|
227
|
-
} & {
|
|
228
|
-
ref?: React.Ref<any> | undefined;
|
|
229
|
-
}>;
|
|
230
|
-
};
|
|
231
218
|
Modal: {
|
|
232
|
-
<
|
|
219
|
+
<S_14>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_14 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
233
220
|
rnCSS?: string | undefined;
|
|
234
221
|
shared: unknown;
|
|
235
|
-
|
|
222
|
+
theme: unknown;
|
|
223
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & S_14 & {
|
|
236
224
|
rnCSS?: `${string};` | undefined;
|
|
237
225
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
238
226
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -242,10 +230,11 @@ declare const styled: {
|
|
|
242
230
|
} & {
|
|
243
231
|
ref?: React.Ref<any> | undefined;
|
|
244
232
|
}>;
|
|
245
|
-
attrs<
|
|
233
|
+
attrs<S_15>(opts: Partial<S_15 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps> | ((props: S_15 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps) => Partial<S_15 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_15 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
246
234
|
rnCSS?: string | undefined;
|
|
247
235
|
shared: unknown;
|
|
248
|
-
|
|
236
|
+
theme: unknown;
|
|
237
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ModalProps | S_15) & {
|
|
249
238
|
rnCSS?: `${string};` | undefined;
|
|
250
239
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
251
240
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -257,10 +246,11 @@ declare const styled: {
|
|
|
257
246
|
}>;
|
|
258
247
|
};
|
|
259
248
|
NavigatorIOS: {
|
|
260
|
-
<
|
|
249
|
+
<S_16>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_16 & RN.NavigatorIOSProps & {
|
|
261
250
|
rnCSS?: string | undefined;
|
|
262
251
|
shared: unknown;
|
|
263
|
-
|
|
252
|
+
theme: unknown;
|
|
253
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.NavigatorIOSProps & S_16 & {
|
|
264
254
|
rnCSS?: `${string};` | undefined;
|
|
265
255
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
266
256
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -270,10 +260,11 @@ declare const styled: {
|
|
|
270
260
|
} & {
|
|
271
261
|
ref?: React.Ref<any> | undefined;
|
|
272
262
|
}>;
|
|
273
|
-
attrs<
|
|
263
|
+
attrs<S_17>(opts: Partial<S_17 & RN.NavigatorIOSProps> | ((props: S_17 & RN.NavigatorIOSProps) => Partial<S_17 & RN.NavigatorIOSProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_17 & RN.NavigatorIOSProps & {
|
|
274
264
|
rnCSS?: string | undefined;
|
|
275
265
|
shared: unknown;
|
|
276
|
-
|
|
266
|
+
theme: unknown;
|
|
267
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.NavigatorIOSProps | S_17) & {
|
|
277
268
|
rnCSS?: `${string};` | undefined;
|
|
278
269
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
279
270
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -285,10 +276,11 @@ declare const styled: {
|
|
|
285
276
|
}>;
|
|
286
277
|
};
|
|
287
278
|
ScrollView: {
|
|
288
|
-
<
|
|
279
|
+
<S_18>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_18 & RN.ScrollViewProps & {
|
|
289
280
|
rnCSS?: string | undefined;
|
|
290
281
|
shared: unknown;
|
|
291
|
-
|
|
282
|
+
theme: unknown;
|
|
283
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ScrollViewProps & S_18 & {
|
|
292
284
|
rnCSS?: `${string};` | undefined;
|
|
293
285
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
294
286
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -298,10 +290,11 @@ declare const styled: {
|
|
|
298
290
|
} & {
|
|
299
291
|
ref?: React.Ref<any> | undefined;
|
|
300
292
|
}>;
|
|
301
|
-
attrs<
|
|
293
|
+
attrs<S_19>(opts: Partial<S_19 & RN.ScrollViewProps> | ((props: S_19 & RN.ScrollViewProps) => Partial<S_19 & RN.ScrollViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_19 & RN.ScrollViewProps & {
|
|
302
294
|
rnCSS?: string | undefined;
|
|
303
295
|
shared: unknown;
|
|
304
|
-
|
|
296
|
+
theme: unknown;
|
|
297
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ScrollViewProps | S_19) & {
|
|
305
298
|
rnCSS?: `${string};` | undefined;
|
|
306
299
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
307
300
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -313,10 +306,11 @@ declare const styled: {
|
|
|
313
306
|
}>;
|
|
314
307
|
};
|
|
315
308
|
SnapshotViewIOS: {
|
|
316
|
-
<
|
|
309
|
+
<S_20>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_20 & RN.SnapshotViewIOSProps & {
|
|
317
310
|
rnCSS?: string | undefined;
|
|
318
311
|
shared: unknown;
|
|
319
|
-
|
|
312
|
+
theme: unknown;
|
|
313
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.SnapshotViewIOSProps & S_20 & {
|
|
320
314
|
rnCSS?: `${string};` | undefined;
|
|
321
315
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
322
316
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -326,10 +320,11 @@ declare const styled: {
|
|
|
326
320
|
} & {
|
|
327
321
|
ref?: React.Ref<any> | undefined;
|
|
328
322
|
}>;
|
|
329
|
-
attrs<
|
|
323
|
+
attrs<S_21>(opts: Partial<S_21 & RN.SnapshotViewIOSProps> | ((props: S_21 & RN.SnapshotViewIOSProps) => Partial<S_21 & RN.SnapshotViewIOSProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_21 & RN.SnapshotViewIOSProps & {
|
|
330
324
|
rnCSS?: string | undefined;
|
|
331
325
|
shared: unknown;
|
|
332
|
-
|
|
326
|
+
theme: unknown;
|
|
327
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.SnapshotViewIOSProps | S_21) & {
|
|
333
328
|
rnCSS?: `${string};` | undefined;
|
|
334
329
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
335
330
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -341,10 +336,11 @@ declare const styled: {
|
|
|
341
336
|
}>;
|
|
342
337
|
};
|
|
343
338
|
Switch: {
|
|
344
|
-
<
|
|
339
|
+
<S_22>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_22 & RN.SwitchProps & {
|
|
345
340
|
rnCSS?: string | undefined;
|
|
346
341
|
shared: unknown;
|
|
347
|
-
|
|
342
|
+
theme: unknown;
|
|
343
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.SwitchProps & S_22 & {
|
|
348
344
|
rnCSS?: `${string};` | undefined;
|
|
349
345
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
350
346
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -354,10 +350,11 @@ declare const styled: {
|
|
|
354
350
|
} & {
|
|
355
351
|
ref?: React.Ref<any> | undefined;
|
|
356
352
|
}>;
|
|
357
|
-
attrs<
|
|
353
|
+
attrs<S_23>(opts: Partial<S_23 & RN.SwitchProps> | ((props: S_23 & RN.SwitchProps) => Partial<S_23 & RN.SwitchProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_23 & RN.SwitchProps & {
|
|
358
354
|
rnCSS?: string | undefined;
|
|
359
355
|
shared: unknown;
|
|
360
|
-
|
|
356
|
+
theme: unknown;
|
|
357
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.SwitchProps | S_23) & {
|
|
361
358
|
rnCSS?: `${string};` | undefined;
|
|
362
359
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
363
360
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -369,10 +366,11 @@ declare const styled: {
|
|
|
369
366
|
}>;
|
|
370
367
|
};
|
|
371
368
|
RecyclerViewBackedScrollView: {
|
|
372
|
-
<
|
|
369
|
+
<S_24>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_24 & RN.RecyclerViewBackedScrollViewProps & {
|
|
373
370
|
rnCSS?: string | undefined;
|
|
374
371
|
shared: unknown;
|
|
375
|
-
|
|
372
|
+
theme: unknown;
|
|
373
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.RecyclerViewBackedScrollViewProps & S_24 & {
|
|
376
374
|
rnCSS?: `${string};` | undefined;
|
|
377
375
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
378
376
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -382,10 +380,11 @@ declare const styled: {
|
|
|
382
380
|
} & {
|
|
383
381
|
ref?: React.Ref<any> | undefined;
|
|
384
382
|
}>;
|
|
385
|
-
attrs<
|
|
383
|
+
attrs<S_25>(opts: Partial<S_25 & RN.RecyclerViewBackedScrollViewProps> | ((props: S_25 & RN.RecyclerViewBackedScrollViewProps) => Partial<S_25 & RN.RecyclerViewBackedScrollViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_25 & RN.RecyclerViewBackedScrollViewProps & {
|
|
386
384
|
rnCSS?: string | undefined;
|
|
387
385
|
shared: unknown;
|
|
388
|
-
|
|
386
|
+
theme: unknown;
|
|
387
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.RecyclerViewBackedScrollViewProps | S_25) & {
|
|
389
388
|
rnCSS?: `${string};` | undefined;
|
|
390
389
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
391
390
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -397,10 +396,11 @@ declare const styled: {
|
|
|
397
396
|
}>;
|
|
398
397
|
};
|
|
399
398
|
RefreshControl: {
|
|
400
|
-
<
|
|
399
|
+
<S_26>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_26 & RN.RefreshControlProps & {
|
|
401
400
|
rnCSS?: string | undefined;
|
|
402
401
|
shared: unknown;
|
|
403
|
-
|
|
402
|
+
theme: unknown;
|
|
403
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.RefreshControlProps & S_26 & {
|
|
404
404
|
rnCSS?: `${string};` | undefined;
|
|
405
405
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
406
406
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -410,10 +410,11 @@ declare const styled: {
|
|
|
410
410
|
} & {
|
|
411
411
|
ref?: React.Ref<any> | undefined;
|
|
412
412
|
}>;
|
|
413
|
-
attrs<
|
|
413
|
+
attrs<S_27>(opts: Partial<S_27 & RN.RefreshControlProps> | ((props: S_27 & RN.RefreshControlProps) => Partial<S_27 & RN.RefreshControlProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_27 & RN.RefreshControlProps & {
|
|
414
414
|
rnCSS?: string | undefined;
|
|
415
415
|
shared: unknown;
|
|
416
|
-
|
|
416
|
+
theme: unknown;
|
|
417
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.RefreshControlProps | S_27) & {
|
|
417
418
|
rnCSS?: `${string};` | undefined;
|
|
418
419
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
419
420
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -425,10 +426,11 @@ declare const styled: {
|
|
|
425
426
|
}>;
|
|
426
427
|
};
|
|
427
428
|
SafeAreaView: {
|
|
428
|
-
<
|
|
429
|
+
<S_28>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_28 & RN.ViewProps & {
|
|
429
430
|
rnCSS?: string | undefined;
|
|
430
431
|
shared: unknown;
|
|
431
|
-
|
|
432
|
+
theme: unknown;
|
|
433
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ViewProps & S_28 & {
|
|
432
434
|
rnCSS?: `${string};` | undefined;
|
|
433
435
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
434
436
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -438,10 +440,11 @@ declare const styled: {
|
|
|
438
440
|
} & {
|
|
439
441
|
ref?: React.Ref<any> | undefined;
|
|
440
442
|
}>;
|
|
441
|
-
attrs<
|
|
443
|
+
attrs<S_29>(opts: Partial<S_29 & RN.ViewProps> | ((props: S_29 & RN.ViewProps) => Partial<S_29 & RN.ViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_29 & RN.ViewProps & {
|
|
442
444
|
rnCSS?: string | undefined;
|
|
443
445
|
shared: unknown;
|
|
444
|
-
|
|
446
|
+
theme: unknown;
|
|
447
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ViewProps | S_29) & {
|
|
445
448
|
rnCSS?: `${string};` | undefined;
|
|
446
449
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
447
450
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -453,23 +456,11 @@ declare const styled: {
|
|
|
453
456
|
}>;
|
|
454
457
|
};
|
|
455
458
|
StatusBar: {
|
|
456
|
-
<
|
|
457
|
-
rnCSS?: string | undefined;
|
|
458
|
-
shared: unknown;
|
|
459
|
-
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.StatusBarProps & S_32 & {
|
|
460
|
-
rnCSS?: `${string};` | undefined;
|
|
461
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
462
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
463
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
464
|
-
children?: React.ReactNode;
|
|
465
|
-
style?: any;
|
|
466
|
-
} & {
|
|
467
|
-
ref?: React.Ref<any> | undefined;
|
|
468
|
-
}>;
|
|
469
|
-
attrs<S_33>(opts: Partial<S_33 & RN.StatusBarProps> | ((props: S_33 & RN.StatusBarProps) => Partial<S_33 & RN.StatusBarProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_33 & RN.StatusBarProps & {
|
|
459
|
+
<S_30>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_30 & RN.StatusBarProps & {
|
|
470
460
|
rnCSS?: string | undefined;
|
|
471
461
|
shared: unknown;
|
|
472
|
-
|
|
462
|
+
theme: unknown;
|
|
463
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.StatusBarProps & S_30 & {
|
|
473
464
|
rnCSS?: `${string};` | undefined;
|
|
474
465
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
475
466
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -479,53 +470,11 @@ declare const styled: {
|
|
|
479
470
|
} & {
|
|
480
471
|
ref?: React.Ref<any> | undefined;
|
|
481
472
|
}>;
|
|
482
|
-
|
|
483
|
-
SwipeableListView: {
|
|
484
|
-
<S_34>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_34 & RN.SwipeableListViewProps & {
|
|
473
|
+
attrs<S_31>(opts: Partial<S_31 & RN.StatusBarProps> | ((props: S_31 & RN.StatusBarProps) => Partial<S_31 & RN.StatusBarProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_31 & RN.StatusBarProps & {
|
|
485
474
|
rnCSS?: string | undefined;
|
|
486
475
|
shared: unknown;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
490
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
491
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
492
|
-
children?: React.ReactNode;
|
|
493
|
-
style?: any;
|
|
494
|
-
} & {
|
|
495
|
-
ref?: React.Ref<any> | undefined;
|
|
496
|
-
}>;
|
|
497
|
-
attrs<S_35>(opts: Partial<S_35 & RN.SwipeableListViewProps> | ((props: S_35 & RN.SwipeableListViewProps) => Partial<S_35 & RN.SwipeableListViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_35 & RN.SwipeableListViewProps & {
|
|
498
|
-
rnCSS?: string | undefined;
|
|
499
|
-
shared: unknown;
|
|
500
|
-
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.SwipeableListViewProps | S_35) & {
|
|
501
|
-
rnCSS?: `${string};` | undefined;
|
|
502
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
503
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
504
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
505
|
-
children?: React.ReactNode;
|
|
506
|
-
style?: any;
|
|
507
|
-
} & {
|
|
508
|
-
ref?: React.Ref<any> | undefined;
|
|
509
|
-
}>;
|
|
510
|
-
};
|
|
511
|
-
TabBarIOS: {
|
|
512
|
-
<S_36>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_36 & RN.TabBarIOSProps & {
|
|
513
|
-
rnCSS?: string | undefined;
|
|
514
|
-
shared: unknown;
|
|
515
|
-
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TabBarIOSProps & S_36 & {
|
|
516
|
-
rnCSS?: `${string};` | undefined;
|
|
517
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
518
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
519
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
520
|
-
children?: React.ReactNode;
|
|
521
|
-
style?: any;
|
|
522
|
-
} & {
|
|
523
|
-
ref?: React.Ref<any> | undefined;
|
|
524
|
-
}>;
|
|
525
|
-
attrs<S_37>(opts: Partial<S_37 & RN.TabBarIOSProps> | ((props: S_37 & RN.TabBarIOSProps) => Partial<S_37 & RN.TabBarIOSProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_37 & RN.TabBarIOSProps & {
|
|
526
|
-
rnCSS?: string | undefined;
|
|
527
|
-
shared: unknown;
|
|
528
|
-
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TabBarIOSProps | S_37) & {
|
|
476
|
+
theme: unknown;
|
|
477
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.StatusBarProps | S_31) & {
|
|
529
478
|
rnCSS?: `${string};` | undefined;
|
|
530
479
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
531
480
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -537,10 +486,11 @@ declare const styled: {
|
|
|
537
486
|
}>;
|
|
538
487
|
};
|
|
539
488
|
Text: {
|
|
540
|
-
<
|
|
489
|
+
<S_32>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_32 & RN.TextProps & {
|
|
541
490
|
rnCSS?: string | undefined;
|
|
542
491
|
shared: unknown;
|
|
543
|
-
|
|
492
|
+
theme: unknown;
|
|
493
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TextProps & S_32 & {
|
|
544
494
|
rnCSS?: `${string};` | undefined;
|
|
545
495
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
546
496
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -550,10 +500,11 @@ declare const styled: {
|
|
|
550
500
|
} & {
|
|
551
501
|
ref?: React.Ref<any> | undefined;
|
|
552
502
|
}>;
|
|
553
|
-
attrs<
|
|
503
|
+
attrs<S_33>(opts: Partial<S_33 & RN.TextProps> | ((props: S_33 & RN.TextProps) => Partial<S_33 & RN.TextProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_33 & RN.TextProps & {
|
|
554
504
|
rnCSS?: string | undefined;
|
|
555
505
|
shared: unknown;
|
|
556
|
-
|
|
506
|
+
theme: unknown;
|
|
507
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TextProps | S_33) & {
|
|
557
508
|
rnCSS?: `${string};` | undefined;
|
|
558
509
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
559
510
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -565,10 +516,11 @@ declare const styled: {
|
|
|
565
516
|
}>;
|
|
566
517
|
};
|
|
567
518
|
TextInput: {
|
|
568
|
-
<
|
|
519
|
+
<S_34>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_34 & RN.TextInputProps & {
|
|
569
520
|
rnCSS?: string | undefined;
|
|
570
521
|
shared: unknown;
|
|
571
|
-
|
|
522
|
+
theme: unknown;
|
|
523
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TextInputProps & S_34 & {
|
|
572
524
|
rnCSS?: `${string};` | undefined;
|
|
573
525
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
574
526
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -578,38 +530,11 @@ declare const styled: {
|
|
|
578
530
|
} & {
|
|
579
531
|
ref?: React.Ref<any> | undefined;
|
|
580
532
|
}>;
|
|
581
|
-
attrs<
|
|
533
|
+
attrs<S_35>(opts: Partial<S_35 & RN.TextInputProps> | ((props: S_35 & RN.TextInputProps) => Partial<S_35 & RN.TextInputProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_35 & RN.TextInputProps & {
|
|
582
534
|
rnCSS?: string | undefined;
|
|
583
535
|
shared: unknown;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
587
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
588
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
589
|
-
children?: React.ReactNode;
|
|
590
|
-
style?: any;
|
|
591
|
-
} & {
|
|
592
|
-
ref?: React.Ref<any> | undefined;
|
|
593
|
-
}>;
|
|
594
|
-
};
|
|
595
|
-
ToolbarAndroid: {
|
|
596
|
-
<S_42>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_42 & RN.ToolbarAndroidProps & {
|
|
597
|
-
rnCSS?: string | undefined;
|
|
598
|
-
shared: unknown;
|
|
599
|
-
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ToolbarAndroidProps & S_42 & {
|
|
600
|
-
rnCSS?: `${string};` | undefined;
|
|
601
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
602
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
603
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
604
|
-
children?: React.ReactNode;
|
|
605
|
-
style?: any;
|
|
606
|
-
} & {
|
|
607
|
-
ref?: React.Ref<any> | undefined;
|
|
608
|
-
}>;
|
|
609
|
-
attrs<S_43>(opts: Partial<S_43 & RN.ToolbarAndroidProps> | ((props: S_43 & RN.ToolbarAndroidProps) => Partial<S_43 & RN.ToolbarAndroidProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_43 & RN.ToolbarAndroidProps & {
|
|
610
|
-
rnCSS?: string | undefined;
|
|
611
|
-
shared: unknown;
|
|
612
|
-
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ToolbarAndroidProps | S_43) & {
|
|
536
|
+
theme: unknown;
|
|
537
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TextInputProps | S_35) & {
|
|
613
538
|
rnCSS?: `${string};` | undefined;
|
|
614
539
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
615
540
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -621,10 +546,11 @@ declare const styled: {
|
|
|
621
546
|
}>;
|
|
622
547
|
};
|
|
623
548
|
TouchableHighlight: {
|
|
624
|
-
<
|
|
549
|
+
<S_36>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_36 & RN.TouchableHighlightProps & {
|
|
625
550
|
rnCSS?: string | undefined;
|
|
626
551
|
shared: unknown;
|
|
627
|
-
|
|
552
|
+
theme: unknown;
|
|
553
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TouchableHighlightProps & S_36 & {
|
|
628
554
|
rnCSS?: `${string};` | undefined;
|
|
629
555
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
630
556
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -634,10 +560,11 @@ declare const styled: {
|
|
|
634
560
|
} & {
|
|
635
561
|
ref?: React.Ref<any> | undefined;
|
|
636
562
|
}>;
|
|
637
|
-
attrs<
|
|
563
|
+
attrs<S_37>(opts: Partial<S_37 & RN.TouchableHighlightProps> | ((props: S_37 & RN.TouchableHighlightProps) => Partial<S_37 & RN.TouchableHighlightProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_37 & RN.TouchableHighlightProps & {
|
|
638
564
|
rnCSS?: string | undefined;
|
|
639
565
|
shared: unknown;
|
|
640
|
-
|
|
566
|
+
theme: unknown;
|
|
567
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TouchableHighlightProps | S_37) & {
|
|
641
568
|
rnCSS?: `${string};` | undefined;
|
|
642
569
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
643
570
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -649,10 +576,11 @@ declare const styled: {
|
|
|
649
576
|
}>;
|
|
650
577
|
};
|
|
651
578
|
TouchableNativeFeedback: {
|
|
652
|
-
<
|
|
579
|
+
<S_38>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_38 & RN.TouchableNativeFeedbackProps & {
|
|
653
580
|
rnCSS?: string | undefined;
|
|
654
581
|
shared: unknown;
|
|
655
|
-
|
|
582
|
+
theme: unknown;
|
|
583
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TouchableNativeFeedbackProps & S_38 & {
|
|
656
584
|
rnCSS?: `${string};` | undefined;
|
|
657
585
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
658
586
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -662,10 +590,11 @@ declare const styled: {
|
|
|
662
590
|
} & {
|
|
663
591
|
ref?: React.Ref<any> | undefined;
|
|
664
592
|
}>;
|
|
665
|
-
attrs<
|
|
593
|
+
attrs<S_39>(opts: Partial<S_39 & RN.TouchableNativeFeedbackProps> | ((props: S_39 & RN.TouchableNativeFeedbackProps) => Partial<S_39 & RN.TouchableNativeFeedbackProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_39 & RN.TouchableNativeFeedbackProps & {
|
|
666
594
|
rnCSS?: string | undefined;
|
|
667
595
|
shared: unknown;
|
|
668
|
-
|
|
596
|
+
theme: unknown;
|
|
597
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TouchableNativeFeedbackProps | S_39) & {
|
|
669
598
|
rnCSS?: `${string};` | undefined;
|
|
670
599
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
671
600
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -677,10 +606,11 @@ declare const styled: {
|
|
|
677
606
|
}>;
|
|
678
607
|
};
|
|
679
608
|
TouchableOpacity: {
|
|
680
|
-
<
|
|
609
|
+
<S_40>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_40 & RN.TouchableOpacityProps & {
|
|
681
610
|
rnCSS?: string | undefined;
|
|
682
611
|
shared: unknown;
|
|
683
|
-
|
|
612
|
+
theme: unknown;
|
|
613
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TouchableOpacityProps & S_40 & {
|
|
684
614
|
rnCSS?: `${string};` | undefined;
|
|
685
615
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
686
616
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -690,10 +620,11 @@ declare const styled: {
|
|
|
690
620
|
} & {
|
|
691
621
|
ref?: React.Ref<any> | undefined;
|
|
692
622
|
}>;
|
|
693
|
-
attrs<
|
|
623
|
+
attrs<S_41>(opts: Partial<S_41 & RN.TouchableOpacityProps> | ((props: S_41 & RN.TouchableOpacityProps) => Partial<S_41 & RN.TouchableOpacityProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_41 & RN.TouchableOpacityProps & {
|
|
694
624
|
rnCSS?: string | undefined;
|
|
695
625
|
shared: unknown;
|
|
696
|
-
|
|
626
|
+
theme: unknown;
|
|
627
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TouchableOpacityProps | S_41) & {
|
|
697
628
|
rnCSS?: `${string};` | undefined;
|
|
698
629
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
699
630
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -705,10 +636,11 @@ declare const styled: {
|
|
|
705
636
|
}>;
|
|
706
637
|
};
|
|
707
638
|
TouchableWithoutFeedback: {
|
|
708
|
-
<
|
|
639
|
+
<S_42>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_42 & RN.TouchableWithoutFeedbackProps & {
|
|
709
640
|
rnCSS?: string | undefined;
|
|
710
641
|
shared: unknown;
|
|
711
|
-
|
|
642
|
+
theme: unknown;
|
|
643
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.TouchableWithoutFeedbackProps & S_42 & {
|
|
712
644
|
rnCSS?: `${string};` | undefined;
|
|
713
645
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
714
646
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -718,10 +650,11 @@ declare const styled: {
|
|
|
718
650
|
} & {
|
|
719
651
|
ref?: React.Ref<any> | undefined;
|
|
720
652
|
}>;
|
|
721
|
-
attrs<
|
|
653
|
+
attrs<S_43>(opts: Partial<S_43 & RN.TouchableWithoutFeedbackProps> | ((props: S_43 & RN.TouchableWithoutFeedbackProps) => Partial<S_43 & RN.TouchableWithoutFeedbackProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_43 & RN.TouchableWithoutFeedbackProps & {
|
|
722
654
|
rnCSS?: string | undefined;
|
|
723
655
|
shared: unknown;
|
|
724
|
-
|
|
656
|
+
theme: unknown;
|
|
657
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.TouchableWithoutFeedbackProps | S_43) & {
|
|
725
658
|
rnCSS?: `${string};` | undefined;
|
|
726
659
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
727
660
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -733,38 +666,11 @@ declare const styled: {
|
|
|
733
666
|
}>;
|
|
734
667
|
};
|
|
735
668
|
View: {
|
|
736
|
-
<
|
|
737
|
-
rnCSS?: string | undefined;
|
|
738
|
-
shared: unknown;
|
|
739
|
-
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ViewProps & S_30 & {
|
|
740
|
-
rnCSS?: `${string};` | undefined;
|
|
741
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
742
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
743
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
744
|
-
children?: React.ReactNode;
|
|
745
|
-
style?: any;
|
|
746
|
-
} & {
|
|
747
|
-
ref?: React.Ref<any> | undefined;
|
|
748
|
-
}>;
|
|
749
|
-
attrs<S_31>(opts: Partial<S_31 & RN.ViewProps> | ((props: S_31 & RN.ViewProps) => Partial<S_31 & RN.ViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_31 & RN.ViewProps & {
|
|
750
|
-
rnCSS?: string | undefined;
|
|
751
|
-
shared: unknown;
|
|
752
|
-
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ViewProps | S_31) & {
|
|
753
|
-
rnCSS?: `${string};` | undefined;
|
|
754
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
755
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
756
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
757
|
-
children?: React.ReactNode;
|
|
758
|
-
style?: any;
|
|
759
|
-
} & {
|
|
760
|
-
ref?: React.Ref<any> | undefined;
|
|
761
|
-
}>;
|
|
762
|
-
};
|
|
763
|
-
ViewPagerAndroid: {
|
|
764
|
-
<S_52>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_52 & RN.ViewPagerAndroidProps & {
|
|
669
|
+
<S_28>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_28 & RN.ViewProps & {
|
|
765
670
|
rnCSS?: string | undefined;
|
|
766
671
|
shared: unknown;
|
|
767
|
-
|
|
672
|
+
theme: unknown;
|
|
673
|
+
}) => string | number | boolean | null | undefined))[]): React.ForwardRefExoticComponent<RN.ViewProps & S_28 & {
|
|
768
674
|
rnCSS?: `${string};` | undefined;
|
|
769
675
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
770
676
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -774,10 +680,11 @@ declare const styled: {
|
|
|
774
680
|
} & {
|
|
775
681
|
ref?: React.Ref<any> | undefined;
|
|
776
682
|
}>;
|
|
777
|
-
attrs<
|
|
683
|
+
attrs<S_29>(opts: Partial<S_29 & RN.ViewProps> | ((props: S_29 & RN.ViewProps) => Partial<S_29 & RN.ViewProps>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_29 & RN.ViewProps & {
|
|
778
684
|
rnCSS?: string | undefined;
|
|
779
685
|
shared: unknown;
|
|
780
|
-
|
|
686
|
+
theme: unknown;
|
|
687
|
+
}) => string | number | boolean | null | undefined))[]) => React.ForwardRefExoticComponent<(RN.ViewProps | S_29) & {
|
|
781
688
|
rnCSS?: `${string};` | undefined;
|
|
782
689
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
783
690
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -789,10 +696,11 @@ declare const styled: {
|
|
|
789
696
|
}>;
|
|
790
697
|
};
|
|
791
698
|
FlatList: {
|
|
792
|
-
<
|
|
699
|
+
<S_44>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_44 & {
|
|
793
700
|
rnCSS?: string | undefined;
|
|
794
701
|
shared: unknown;
|
|
795
|
-
|
|
702
|
+
theme: unknown;
|
|
703
|
+
}) => string | number | boolean | null | undefined))[]): <Type>(props: S_44 & RN.FlatListProps<Type> & {
|
|
796
704
|
rnCSS?: `${string};` | undefined;
|
|
797
705
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
798
706
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -800,10 +708,11 @@ declare const styled: {
|
|
|
800
708
|
children?: React.ReactNode;
|
|
801
709
|
style?: any;
|
|
802
710
|
}) => JSX.Element;
|
|
803
|
-
attrs<
|
|
711
|
+
attrs<S_45>(opts: Partial<S_45 & RN.FlatListProps<any>> | ((props: S_45 & RN.FlatListProps<any>) => Partial<S_45 & RN.FlatListProps<any>>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_45 & RN.FlatListProps<any> & {
|
|
804
712
|
rnCSS?: string | undefined;
|
|
805
713
|
shared: unknown;
|
|
806
|
-
|
|
714
|
+
theme: unknown;
|
|
715
|
+
}) => string | number | boolean | null | undefined))[]) => <Props>(componentProps: S_45 & RN.FlatListProps<Props> & {
|
|
807
716
|
rnCSS?: `${string};` | undefined;
|
|
808
717
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
809
718
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -813,10 +722,11 @@ declare const styled: {
|
|
|
813
722
|
}) => JSX.Element;
|
|
814
723
|
};
|
|
815
724
|
SectionList: {
|
|
816
|
-
<
|
|
725
|
+
<S_46>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_46 & {
|
|
817
726
|
rnCSS?: string | undefined;
|
|
818
727
|
shared: unknown;
|
|
819
|
-
|
|
728
|
+
theme: unknown;
|
|
729
|
+
}) => string | number | boolean | null | undefined))[]): <Type_1>(props: S_46 & RN.SectionListProps<Type_1, RN.DefaultSectionT> & {
|
|
820
730
|
rnCSS?: `${string};` | undefined;
|
|
821
731
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
822
732
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -824,10 +734,11 @@ declare const styled: {
|
|
|
824
734
|
children?: React.ReactNode;
|
|
825
735
|
style?: any;
|
|
826
736
|
}) => JSX.Element;
|
|
827
|
-
attrs<
|
|
737
|
+
attrs<S_47>(opts: Partial<S_47 & RN.SectionListProps<any, RN.DefaultSectionT>> | ((props: S_47 & RN.SectionListProps<any, RN.DefaultSectionT>) => Partial<S_47 & RN.SectionListProps<any, RN.DefaultSectionT>>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_47 & RN.SectionListProps<any, RN.DefaultSectionT> & {
|
|
828
738
|
rnCSS?: string | undefined;
|
|
829
739
|
shared: unknown;
|
|
830
|
-
|
|
740
|
+
theme: unknown;
|
|
741
|
+
}) => string | number | boolean | null | undefined))[]) => <Props_1>(componentProps: S_47 & RN.SectionListProps<Props_1, RN.DefaultSectionT> & {
|
|
831
742
|
rnCSS?: `${string};` | undefined;
|
|
832
743
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
833
744
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -837,10 +748,11 @@ declare const styled: {
|
|
|
837
748
|
}) => JSX.Element;
|
|
838
749
|
};
|
|
839
750
|
VirtualizedList: {
|
|
840
|
-
<
|
|
751
|
+
<S_48>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_48 & {
|
|
841
752
|
rnCSS?: string | undefined;
|
|
842
753
|
shared: unknown;
|
|
843
|
-
|
|
754
|
+
theme: unknown;
|
|
755
|
+
}) => string | number | boolean | null | undefined))[]): <Type_2>(props: S_48 & RN.VirtualizedListProps<Type_2> & {
|
|
844
756
|
rnCSS?: `${string};` | undefined;
|
|
845
757
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
846
758
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
@@ -848,10 +760,11 @@ declare const styled: {
|
|
|
848
760
|
children?: React.ReactNode;
|
|
849
761
|
style?: any;
|
|
850
762
|
}) => JSX.Element;
|
|
851
|
-
attrs<
|
|
763
|
+
attrs<S_49>(opts: Partial<S_49 & RN.VirtualizedListProps<any>> | ((props: S_49 & RN.VirtualizedListProps<any>) => Partial<S_49 & RN.VirtualizedListProps<any>>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | null | undefined) | ((arg: S_49 & RN.VirtualizedListProps<any> & {
|
|
852
764
|
rnCSS?: string | undefined;
|
|
853
765
|
shared: unknown;
|
|
854
|
-
|
|
766
|
+
theme: unknown;
|
|
767
|
+
}) => string | number | boolean | null | undefined))[]) => <Props_2>(componentProps: S_49 & RN.VirtualizedListProps<Props_2> & {
|
|
855
768
|
rnCSS?: `${string};` | undefined;
|
|
856
769
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
857
770
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|