rn-css 1.8.9 → 1.8.10
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/dist/index.d.ts +204 -222
- package/dist/styleComponent.d.ts +4 -4
- package/dist/styleComponent.js +2 -0
- package/package.json +1 -1
- package/src/styleComponent.tsx +9 -7
package/dist/index.d.ts
CHANGED
|
@@ -39,35 +39,35 @@ declare const styled: {
|
|
|
39
39
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
40
40
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
41
41
|
children?: React.ReactNode;
|
|
42
|
-
} & Part>>(opts:
|
|
42
|
+
} & Part>>(opts: Result | ((props: InitialProps & {
|
|
43
43
|
rnCSS?: `${string};` | undefined;
|
|
44
44
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
45
45
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
46
46
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
47
47
|
children?: React.ReactNode;
|
|
48
|
-
} & Part
|
|
48
|
+
} & Part) => Result)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: InitialProps & {
|
|
49
49
|
rnCSS?: `${string};` | undefined;
|
|
50
50
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
51
51
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
52
52
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
53
53
|
children?: React.ReactNode;
|
|
54
|
-
} & Part
|
|
54
|
+
} & Part & {
|
|
55
|
+
rnCSS?: string | undefined;
|
|
56
|
+
shared: unknown;
|
|
57
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
58
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<InitialProps & {
|
|
55
59
|
rnCSS?: `${string};` | undefined;
|
|
56
60
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
57
61
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
58
62
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
59
63
|
children?: React.ReactNode;
|
|
60
|
-
}
|
|
64
|
+
}, keyof Result> & Part & Partial<InitialProps & {
|
|
61
65
|
rnCSS?: `${string};` | undefined;
|
|
62
66
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
63
67
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
64
68
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
65
69
|
children?: React.ReactNode;
|
|
66
|
-
} &
|
|
67
|
-
rnCSS?: string | undefined;
|
|
68
|
-
shared: unknown;
|
|
69
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
70
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result> & React.RefAttributes<any>>;
|
|
70
|
+
}>> & React.RefAttributes<any>>;
|
|
71
71
|
};
|
|
72
72
|
ActivityIndicator: {
|
|
73
73
|
<S_1>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_1 & RN.ActivityIndicatorProps & {
|
|
@@ -101,35 +101,35 @@ declare const styled: {
|
|
|
101
101
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
102
102
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
103
103
|
children?: React.ReactNode;
|
|
104
|
-
} & Part_1>>(opts:
|
|
104
|
+
} & Part_1>>(opts: Result_1 | ((props: RN.ActivityIndicatorProps & {
|
|
105
105
|
rnCSS?: `${string};` | undefined;
|
|
106
106
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
107
107
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
108
108
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
109
109
|
children?: React.ReactNode;
|
|
110
|
-
} & Part_1
|
|
110
|
+
} & Part_1) => Result_1)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ActivityIndicatorProps & {
|
|
111
111
|
rnCSS?: `${string};` | undefined;
|
|
112
112
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
113
113
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
114
114
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
115
115
|
children?: React.ReactNode;
|
|
116
|
-
} & Part_1
|
|
116
|
+
} & Part_1 & {
|
|
117
|
+
rnCSS?: string | undefined;
|
|
118
|
+
shared: unknown;
|
|
119
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
120
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ActivityIndicatorProps & {
|
|
117
121
|
rnCSS?: `${string};` | undefined;
|
|
118
122
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
119
123
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
120
124
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
121
125
|
children?: React.ReactNode;
|
|
122
|
-
}
|
|
126
|
+
}, keyof Result_1> & Part_1 & Partial<RN.ActivityIndicatorProps & {
|
|
123
127
|
rnCSS?: `${string};` | undefined;
|
|
124
128
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
125
129
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
126
130
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
127
131
|
children?: React.ReactNode;
|
|
128
|
-
} &
|
|
129
|
-
rnCSS?: string | undefined;
|
|
130
|
-
shared: unknown;
|
|
131
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
132
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_1> & React.RefAttributes<any>>;
|
|
132
|
+
}>> & React.RefAttributes<any>>;
|
|
133
133
|
};
|
|
134
134
|
DrawerLayoutAndroid: {
|
|
135
135
|
<S_2>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_2 & RN.DrawerLayoutAndroidProps & {
|
|
@@ -163,35 +163,35 @@ declare const styled: {
|
|
|
163
163
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
164
164
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
165
165
|
children?: React.ReactNode;
|
|
166
|
-
} & Part_2>>(opts:
|
|
166
|
+
} & Part_2>>(opts: Result_2 | ((props: RN.DrawerLayoutAndroidProps & {
|
|
167
167
|
rnCSS?: `${string};` | undefined;
|
|
168
168
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
169
169
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
170
170
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
171
171
|
children?: React.ReactNode;
|
|
172
|
-
} & Part_2
|
|
172
|
+
} & Part_2) => Result_2)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.DrawerLayoutAndroidProps & {
|
|
173
173
|
rnCSS?: `${string};` | undefined;
|
|
174
174
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
175
175
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
176
176
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
177
177
|
children?: React.ReactNode;
|
|
178
|
-
} & Part_2
|
|
178
|
+
} & Part_2 & {
|
|
179
|
+
rnCSS?: string | undefined;
|
|
180
|
+
shared: unknown;
|
|
181
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
182
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.DrawerLayoutAndroidProps & {
|
|
179
183
|
rnCSS?: `${string};` | undefined;
|
|
180
184
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
181
185
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
182
186
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
183
187
|
children?: React.ReactNode;
|
|
184
|
-
}
|
|
188
|
+
}, keyof Result_2> & Part_2 & Partial<RN.DrawerLayoutAndroidProps & {
|
|
185
189
|
rnCSS?: `${string};` | undefined;
|
|
186
190
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
187
191
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
188
192
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
189
193
|
children?: React.ReactNode;
|
|
190
|
-
} &
|
|
191
|
-
rnCSS?: string | undefined;
|
|
192
|
-
shared: unknown;
|
|
193
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
194
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_2> & React.RefAttributes<any>>;
|
|
194
|
+
}>> & React.RefAttributes<any>>;
|
|
195
195
|
};
|
|
196
196
|
Image: {
|
|
197
197
|
<S_3>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_3 & RN.ImageProps & {
|
|
@@ -225,35 +225,35 @@ declare const styled: {
|
|
|
225
225
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
226
226
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
227
227
|
children?: React.ReactNode;
|
|
228
|
-
} & Part_3>>(opts:
|
|
228
|
+
} & Part_3>>(opts: Result_3 | ((props: RN.ImageProps & {
|
|
229
229
|
rnCSS?: `${string};` | undefined;
|
|
230
230
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
231
231
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
232
232
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
233
233
|
children?: React.ReactNode;
|
|
234
|
-
} & Part_3
|
|
234
|
+
} & Part_3) => Result_3)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ImageProps & {
|
|
235
235
|
rnCSS?: `${string};` | undefined;
|
|
236
236
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
237
237
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
238
238
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
239
239
|
children?: React.ReactNode;
|
|
240
|
-
} & Part_3
|
|
240
|
+
} & Part_3 & {
|
|
241
|
+
rnCSS?: string | undefined;
|
|
242
|
+
shared: unknown;
|
|
243
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
244
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ImageProps & {
|
|
241
245
|
rnCSS?: `${string};` | undefined;
|
|
242
246
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
243
247
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
244
248
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
245
249
|
children?: React.ReactNode;
|
|
246
|
-
}
|
|
250
|
+
}, keyof Result_3> & Part_3 & Partial<RN.ImageProps & {
|
|
247
251
|
rnCSS?: `${string};` | undefined;
|
|
248
252
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
249
253
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
250
254
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
251
255
|
children?: React.ReactNode;
|
|
252
|
-
} &
|
|
253
|
-
rnCSS?: string | undefined;
|
|
254
|
-
shared: unknown;
|
|
255
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
256
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_3> & React.RefAttributes<any>>;
|
|
256
|
+
}>> & React.RefAttributes<any>>;
|
|
257
257
|
};
|
|
258
258
|
ImageBackground: {
|
|
259
259
|
<S_4>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_4 & RN.ImageBackgroundProps & {
|
|
@@ -287,35 +287,35 @@ declare const styled: {
|
|
|
287
287
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
288
288
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
289
289
|
children?: React.ReactNode;
|
|
290
|
-
} & Part_4>>(opts:
|
|
290
|
+
} & Part_4>>(opts: Result_4 | ((props: RN.ImageBackgroundProps & {
|
|
291
291
|
rnCSS?: `${string};` | undefined;
|
|
292
292
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
293
293
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
294
294
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
295
295
|
children?: React.ReactNode;
|
|
296
|
-
} & Part_4
|
|
296
|
+
} & Part_4) => Result_4)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ImageBackgroundProps & {
|
|
297
297
|
rnCSS?: `${string};` | undefined;
|
|
298
298
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
299
299
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
300
300
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
301
301
|
children?: React.ReactNode;
|
|
302
|
-
} & Part_4
|
|
302
|
+
} & Part_4 & {
|
|
303
|
+
rnCSS?: string | undefined;
|
|
304
|
+
shared: unknown;
|
|
305
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
306
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ImageBackgroundProps & {
|
|
303
307
|
rnCSS?: `${string};` | undefined;
|
|
304
308
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
305
309
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
306
310
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
307
311
|
children?: React.ReactNode;
|
|
308
|
-
}
|
|
312
|
+
}, keyof Result_4> & Part_4 & Partial<RN.ImageBackgroundProps & {
|
|
309
313
|
rnCSS?: `${string};` | undefined;
|
|
310
314
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
311
315
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
312
316
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
313
317
|
children?: React.ReactNode;
|
|
314
|
-
} &
|
|
315
|
-
rnCSS?: string | undefined;
|
|
316
|
-
shared: unknown;
|
|
317
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
318
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_4> & React.RefAttributes<any>>;
|
|
318
|
+
}>> & React.RefAttributes<any>>;
|
|
319
319
|
};
|
|
320
320
|
KeyboardAvoidingView: {
|
|
321
321
|
<S_5>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_5 & RN.KeyboardAvoidingViewProps & {
|
|
@@ -349,35 +349,35 @@ declare const styled: {
|
|
|
349
349
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
350
350
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
351
351
|
children?: React.ReactNode;
|
|
352
|
-
} & Part_5>>(opts:
|
|
352
|
+
} & Part_5>>(opts: Result_5 | ((props: RN.KeyboardAvoidingViewProps & {
|
|
353
353
|
rnCSS?: `${string};` | undefined;
|
|
354
354
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
355
355
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
356
356
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
357
357
|
children?: React.ReactNode;
|
|
358
|
-
} & Part_5
|
|
358
|
+
} & Part_5) => Result_5)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.KeyboardAvoidingViewProps & {
|
|
359
359
|
rnCSS?: `${string};` | undefined;
|
|
360
360
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
361
361
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
362
362
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
363
363
|
children?: React.ReactNode;
|
|
364
|
-
} & Part_5
|
|
364
|
+
} & Part_5 & {
|
|
365
|
+
rnCSS?: string | undefined;
|
|
366
|
+
shared: unknown;
|
|
367
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
368
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.KeyboardAvoidingViewProps & {
|
|
365
369
|
rnCSS?: `${string};` | undefined;
|
|
366
370
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
367
371
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
368
372
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
369
373
|
children?: React.ReactNode;
|
|
370
|
-
}
|
|
374
|
+
}, keyof Result_5> & Part_5 & Partial<RN.KeyboardAvoidingViewProps & {
|
|
371
375
|
rnCSS?: `${string};` | undefined;
|
|
372
376
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
373
377
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
374
378
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
375
379
|
children?: React.ReactNode;
|
|
376
|
-
} &
|
|
377
|
-
rnCSS?: string | undefined;
|
|
378
|
-
shared: unknown;
|
|
379
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
380
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_5> & React.RefAttributes<any>>;
|
|
380
|
+
}>> & React.RefAttributes<any>>;
|
|
381
381
|
};
|
|
382
382
|
Modal: {
|
|
383
383
|
<S_6>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_6 & RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
@@ -411,35 +411,35 @@ declare const styled: {
|
|
|
411
411
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
412
412
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
413
413
|
children?: React.ReactNode;
|
|
414
|
-
} & Part_6>>(opts:
|
|
414
|
+
} & Part_6>>(opts: Result_6 | ((props: RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
415
415
|
rnCSS?: `${string};` | undefined;
|
|
416
416
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
417
417
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
418
418
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
419
419
|
children?: React.ReactNode;
|
|
420
|
-
} & Part_6
|
|
420
|
+
} & Part_6) => Result_6)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
421
421
|
rnCSS?: `${string};` | undefined;
|
|
422
422
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
423
423
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
424
424
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
425
425
|
children?: React.ReactNode;
|
|
426
|
-
} & Part_6
|
|
426
|
+
} & Part_6 & {
|
|
427
|
+
rnCSS?: string | undefined;
|
|
428
|
+
shared: unknown;
|
|
429
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
430
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
427
431
|
rnCSS?: `${string};` | undefined;
|
|
428
432
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
429
433
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
430
434
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
431
435
|
children?: React.ReactNode;
|
|
432
|
-
}
|
|
436
|
+
}, keyof Result_6> & Part_6 & Partial<RN.ModalBaseProps & RN.ModalPropsIOS & RN.ModalPropsAndroid & RN.ViewProps & {
|
|
433
437
|
rnCSS?: `${string};` | undefined;
|
|
434
438
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
435
439
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
436
440
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
437
441
|
children?: React.ReactNode;
|
|
438
|
-
} &
|
|
439
|
-
rnCSS?: string | undefined;
|
|
440
|
-
shared: unknown;
|
|
441
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
442
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_6> & React.RefAttributes<any>>;
|
|
442
|
+
}>> & React.RefAttributes<any>>;
|
|
443
443
|
};
|
|
444
444
|
NavigatorIOS: {
|
|
445
445
|
<S_7>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_7 & RN.NavigatorIOSProps & {
|
|
@@ -473,35 +473,35 @@ declare const styled: {
|
|
|
473
473
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
474
474
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
475
475
|
children?: React.ReactNode;
|
|
476
|
-
} & Part_7>>(opts:
|
|
476
|
+
} & Part_7>>(opts: Result_7 | ((props: RN.NavigatorIOSProps & {
|
|
477
477
|
rnCSS?: `${string};` | undefined;
|
|
478
478
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
479
479
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
480
480
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
481
481
|
children?: React.ReactNode;
|
|
482
|
-
} & Part_7
|
|
482
|
+
} & Part_7) => Result_7)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.NavigatorIOSProps & {
|
|
483
483
|
rnCSS?: `${string};` | undefined;
|
|
484
484
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
485
485
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
486
486
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
487
487
|
children?: React.ReactNode;
|
|
488
|
-
} & Part_7
|
|
488
|
+
} & Part_7 & {
|
|
489
|
+
rnCSS?: string | undefined;
|
|
490
|
+
shared: unknown;
|
|
491
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
492
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.NavigatorIOSProps & {
|
|
489
493
|
rnCSS?: `${string};` | undefined;
|
|
490
494
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
491
495
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
492
496
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
493
497
|
children?: React.ReactNode;
|
|
494
|
-
}
|
|
498
|
+
}, keyof Result_7> & Part_7 & Partial<RN.NavigatorIOSProps & {
|
|
495
499
|
rnCSS?: `${string};` | undefined;
|
|
496
500
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
497
501
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
498
502
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
499
503
|
children?: React.ReactNode;
|
|
500
|
-
} &
|
|
501
|
-
rnCSS?: string | undefined;
|
|
502
|
-
shared: unknown;
|
|
503
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
504
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_7> & React.RefAttributes<any>>;
|
|
504
|
+
}>> & React.RefAttributes<any>>;
|
|
505
505
|
};
|
|
506
506
|
ScrollView: {
|
|
507
507
|
<S_8>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_8 & RN.ScrollViewProps & {
|
|
@@ -535,35 +535,35 @@ declare const styled: {
|
|
|
535
535
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
536
536
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
537
537
|
children?: React.ReactNode;
|
|
538
|
-
} & Part_8>>(opts:
|
|
538
|
+
} & Part_8>>(opts: Result_8 | ((props: RN.ScrollViewProps & {
|
|
539
539
|
rnCSS?: `${string};` | undefined;
|
|
540
540
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
541
541
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
542
542
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
543
543
|
children?: React.ReactNode;
|
|
544
|
-
} & Part_8
|
|
544
|
+
} & Part_8) => Result_8)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ScrollViewProps & {
|
|
545
545
|
rnCSS?: `${string};` | undefined;
|
|
546
546
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
547
547
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
548
548
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
549
549
|
children?: React.ReactNode;
|
|
550
|
-
} & Part_8
|
|
550
|
+
} & Part_8 & {
|
|
551
|
+
rnCSS?: string | undefined;
|
|
552
|
+
shared: unknown;
|
|
553
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
554
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ScrollViewProps & {
|
|
551
555
|
rnCSS?: `${string};` | undefined;
|
|
552
556
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
553
557
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
554
558
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
555
559
|
children?: React.ReactNode;
|
|
556
|
-
}
|
|
560
|
+
}, keyof Result_8> & Part_8 & Partial<RN.ScrollViewProps & {
|
|
557
561
|
rnCSS?: `${string};` | undefined;
|
|
558
562
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
559
563
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
560
564
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
561
565
|
children?: React.ReactNode;
|
|
562
|
-
} &
|
|
563
|
-
rnCSS?: string | undefined;
|
|
564
|
-
shared: unknown;
|
|
565
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
566
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_8> & React.RefAttributes<any>>;
|
|
566
|
+
}>> & React.RefAttributes<any>>;
|
|
567
567
|
};
|
|
568
568
|
SnapshotViewIOS: {
|
|
569
569
|
<S_9>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_9 & RN.SnapshotViewIOSProps & {
|
|
@@ -597,35 +597,35 @@ declare const styled: {
|
|
|
597
597
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
598
598
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
599
599
|
children?: React.ReactNode;
|
|
600
|
-
} & Part_9>>(opts:
|
|
600
|
+
} & Part_9>>(opts: Result_9 | ((props: RN.SnapshotViewIOSProps & {
|
|
601
601
|
rnCSS?: `${string};` | undefined;
|
|
602
602
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
603
603
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
604
604
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
605
605
|
children?: React.ReactNode;
|
|
606
|
-
} & Part_9
|
|
606
|
+
} & Part_9) => Result_9)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.SnapshotViewIOSProps & {
|
|
607
607
|
rnCSS?: `${string};` | undefined;
|
|
608
608
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
609
609
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
610
610
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
611
611
|
children?: React.ReactNode;
|
|
612
|
-
} & Part_9
|
|
612
|
+
} & Part_9 & {
|
|
613
|
+
rnCSS?: string | undefined;
|
|
614
|
+
shared: unknown;
|
|
615
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
616
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.SnapshotViewIOSProps & {
|
|
613
617
|
rnCSS?: `${string};` | undefined;
|
|
614
618
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
615
619
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
616
620
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
617
621
|
children?: React.ReactNode;
|
|
618
|
-
}
|
|
622
|
+
}, keyof Result_9> & Part_9 & Partial<RN.SnapshotViewIOSProps & {
|
|
619
623
|
rnCSS?: `${string};` | undefined;
|
|
620
624
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
621
625
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
622
626
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
623
627
|
children?: React.ReactNode;
|
|
624
|
-
} &
|
|
625
|
-
rnCSS?: string | undefined;
|
|
626
|
-
shared: unknown;
|
|
627
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
628
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_9> & React.RefAttributes<any>>;
|
|
628
|
+
}>> & React.RefAttributes<any>>;
|
|
629
629
|
};
|
|
630
630
|
Switch: {
|
|
631
631
|
<S_10>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_10 & RN.SwitchProps & {
|
|
@@ -659,35 +659,35 @@ declare const styled: {
|
|
|
659
659
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
660
660
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
661
661
|
children?: React.ReactNode;
|
|
662
|
-
} & Part_10>>(opts:
|
|
662
|
+
} & Part_10>>(opts: Result_10 | ((props: RN.SwitchProps & {
|
|
663
663
|
rnCSS?: `${string};` | undefined;
|
|
664
664
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
665
665
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
666
666
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
667
667
|
children?: React.ReactNode;
|
|
668
|
-
} & Part_10
|
|
668
|
+
} & Part_10) => Result_10)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.SwitchProps & {
|
|
669
669
|
rnCSS?: `${string};` | undefined;
|
|
670
670
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
671
671
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
672
672
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
673
673
|
children?: React.ReactNode;
|
|
674
|
-
} & Part_10
|
|
674
|
+
} & Part_10 & {
|
|
675
|
+
rnCSS?: string | undefined;
|
|
676
|
+
shared: unknown;
|
|
677
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
678
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.SwitchProps & {
|
|
675
679
|
rnCSS?: `${string};` | undefined;
|
|
676
680
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
677
681
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
678
682
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
679
683
|
children?: React.ReactNode;
|
|
680
|
-
}
|
|
684
|
+
}, keyof Result_10> & Part_10 & Partial<RN.SwitchProps & {
|
|
681
685
|
rnCSS?: `${string};` | undefined;
|
|
682
686
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
683
687
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
684
688
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
685
689
|
children?: React.ReactNode;
|
|
686
|
-
} &
|
|
687
|
-
rnCSS?: string | undefined;
|
|
688
|
-
shared: unknown;
|
|
689
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
690
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_10> & React.RefAttributes<any>>;
|
|
690
|
+
}>> & React.RefAttributes<any>>;
|
|
691
691
|
};
|
|
692
692
|
RecyclerViewBackedScrollView: {
|
|
693
693
|
<S_11>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_11 & RN.RecyclerViewBackedScrollViewProps & {
|
|
@@ -721,35 +721,35 @@ declare const styled: {
|
|
|
721
721
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
722
722
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
723
723
|
children?: React.ReactNode;
|
|
724
|
-
} & Part_11>>(opts:
|
|
724
|
+
} & Part_11>>(opts: Result_11 | ((props: RN.RecyclerViewBackedScrollViewProps & {
|
|
725
725
|
rnCSS?: `${string};` | undefined;
|
|
726
726
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
727
727
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
728
728
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
729
729
|
children?: React.ReactNode;
|
|
730
|
-
} & Part_11
|
|
730
|
+
} & Part_11) => Result_11)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.RecyclerViewBackedScrollViewProps & {
|
|
731
731
|
rnCSS?: `${string};` | undefined;
|
|
732
732
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
733
733
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
734
734
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
735
735
|
children?: React.ReactNode;
|
|
736
|
-
} & Part_11
|
|
736
|
+
} & Part_11 & {
|
|
737
|
+
rnCSS?: string | undefined;
|
|
738
|
+
shared: unknown;
|
|
739
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
740
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.RecyclerViewBackedScrollViewProps & {
|
|
737
741
|
rnCSS?: `${string};` | undefined;
|
|
738
742
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
739
743
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
740
744
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
741
745
|
children?: React.ReactNode;
|
|
742
|
-
}
|
|
746
|
+
}, keyof Result_11> & Part_11 & Partial<RN.RecyclerViewBackedScrollViewProps & {
|
|
743
747
|
rnCSS?: `${string};` | undefined;
|
|
744
748
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
745
749
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
746
750
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
747
751
|
children?: React.ReactNode;
|
|
748
|
-
} &
|
|
749
|
-
rnCSS?: string | undefined;
|
|
750
|
-
shared: unknown;
|
|
751
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
752
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_11> & React.RefAttributes<any>>;
|
|
752
|
+
}>> & React.RefAttributes<any>>;
|
|
753
753
|
};
|
|
754
754
|
RefreshControl: {
|
|
755
755
|
<S_12>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_12 & RN.RefreshControlProps & {
|
|
@@ -783,35 +783,35 @@ declare const styled: {
|
|
|
783
783
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
784
784
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
785
785
|
children?: React.ReactNode;
|
|
786
|
-
} & Part_12>>(opts:
|
|
786
|
+
} & Part_12>>(opts: Result_12 | ((props: RN.RefreshControlProps & {
|
|
787
787
|
rnCSS?: `${string};` | undefined;
|
|
788
788
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
789
789
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
790
790
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
791
791
|
children?: React.ReactNode;
|
|
792
|
-
} & Part_12
|
|
792
|
+
} & Part_12) => Result_12)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.RefreshControlProps & {
|
|
793
793
|
rnCSS?: `${string};` | undefined;
|
|
794
794
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
795
795
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
796
796
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
797
797
|
children?: React.ReactNode;
|
|
798
|
-
} & Part_12
|
|
798
|
+
} & Part_12 & {
|
|
799
|
+
rnCSS?: string | undefined;
|
|
800
|
+
shared: unknown;
|
|
801
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
802
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.RefreshControlProps & {
|
|
799
803
|
rnCSS?: `${string};` | undefined;
|
|
800
804
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
801
805
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
802
806
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
803
807
|
children?: React.ReactNode;
|
|
804
|
-
}
|
|
808
|
+
}, keyof Result_12> & Part_12 & Partial<RN.RefreshControlProps & {
|
|
805
809
|
rnCSS?: `${string};` | undefined;
|
|
806
810
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
807
811
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
808
812
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
809
813
|
children?: React.ReactNode;
|
|
810
|
-
} &
|
|
811
|
-
rnCSS?: string | undefined;
|
|
812
|
-
shared: unknown;
|
|
813
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
814
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_12> & React.RefAttributes<any>>;
|
|
814
|
+
}>> & React.RefAttributes<any>>;
|
|
815
815
|
};
|
|
816
816
|
SafeAreaView: {
|
|
817
817
|
<S_13>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_13 & RN.ViewProps & {
|
|
@@ -845,35 +845,35 @@ declare const styled: {
|
|
|
845
845
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
846
846
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
847
847
|
children?: React.ReactNode;
|
|
848
|
-
} & Part_13>>(opts:
|
|
848
|
+
} & Part_13>>(opts: Result_13 | ((props: RN.ViewProps & {
|
|
849
849
|
rnCSS?: `${string};` | undefined;
|
|
850
850
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
851
851
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
852
852
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
853
853
|
children?: React.ReactNode;
|
|
854
|
-
} & Part_13
|
|
854
|
+
} & Part_13) => Result_13)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ViewProps & {
|
|
855
855
|
rnCSS?: `${string};` | undefined;
|
|
856
856
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
857
857
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
858
858
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
859
859
|
children?: React.ReactNode;
|
|
860
|
-
} & Part_13
|
|
860
|
+
} & Part_13 & {
|
|
861
|
+
rnCSS?: string | undefined;
|
|
862
|
+
shared: unknown;
|
|
863
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
864
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ViewProps & {
|
|
861
865
|
rnCSS?: `${string};` | undefined;
|
|
862
866
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
863
867
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
864
868
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
865
869
|
children?: React.ReactNode;
|
|
866
|
-
}
|
|
870
|
+
}, keyof Result_13> & Part_13 & Partial<RN.ViewProps & {
|
|
867
871
|
rnCSS?: `${string};` | undefined;
|
|
868
872
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
869
873
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
870
874
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
871
875
|
children?: React.ReactNode;
|
|
872
|
-
} &
|
|
873
|
-
rnCSS?: string | undefined;
|
|
874
|
-
shared: unknown;
|
|
875
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
876
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_13> & React.RefAttributes<any>>;
|
|
876
|
+
}>> & React.RefAttributes<any>>;
|
|
877
877
|
};
|
|
878
878
|
Text: {
|
|
879
879
|
<S_14>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_14 & RN.TextProps & {
|
|
@@ -907,35 +907,35 @@ declare const styled: {
|
|
|
907
907
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
908
908
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
909
909
|
children?: React.ReactNode;
|
|
910
|
-
} & Part_14>>(opts:
|
|
910
|
+
} & Part_14>>(opts: Result_14 | ((props: RN.TextProps & {
|
|
911
911
|
rnCSS?: `${string};` | undefined;
|
|
912
912
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
913
913
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
914
914
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
915
915
|
children?: React.ReactNode;
|
|
916
|
-
} & Part_14
|
|
916
|
+
} & Part_14) => Result_14)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TextProps & {
|
|
917
917
|
rnCSS?: `${string};` | undefined;
|
|
918
918
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
919
919
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
920
920
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
921
921
|
children?: React.ReactNode;
|
|
922
|
-
} & Part_14
|
|
922
|
+
} & Part_14 & {
|
|
923
|
+
rnCSS?: string | undefined;
|
|
924
|
+
shared: unknown;
|
|
925
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
926
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TextProps & {
|
|
923
927
|
rnCSS?: `${string};` | undefined;
|
|
924
928
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
925
929
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
926
930
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
927
931
|
children?: React.ReactNode;
|
|
928
|
-
}
|
|
932
|
+
}, keyof Result_14> & Part_14 & Partial<RN.TextProps & {
|
|
929
933
|
rnCSS?: `${string};` | undefined;
|
|
930
934
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
931
935
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
932
936
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
933
937
|
children?: React.ReactNode;
|
|
934
|
-
} &
|
|
935
|
-
rnCSS?: string | undefined;
|
|
936
|
-
shared: unknown;
|
|
937
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
938
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_14> & React.RefAttributes<any>>;
|
|
938
|
+
}>> & React.RefAttributes<any>>;
|
|
939
939
|
};
|
|
940
940
|
TextInput: {
|
|
941
941
|
<S_15>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_15 & RN.TextInputProps & {
|
|
@@ -969,35 +969,35 @@ declare const styled: {
|
|
|
969
969
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
970
970
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
971
971
|
children?: React.ReactNode;
|
|
972
|
-
} & Part_15>>(opts:
|
|
972
|
+
} & Part_15>>(opts: Result_15 | ((props: RN.TextInputProps & {
|
|
973
973
|
rnCSS?: `${string};` | undefined;
|
|
974
974
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
975
975
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
976
976
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
977
977
|
children?: React.ReactNode;
|
|
978
|
-
} & Part_15
|
|
978
|
+
} & Part_15) => Result_15)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TextInputProps & {
|
|
979
979
|
rnCSS?: `${string};` | undefined;
|
|
980
980
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
981
981
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
982
982
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
983
983
|
children?: React.ReactNode;
|
|
984
|
-
} & Part_15
|
|
984
|
+
} & Part_15 & {
|
|
985
|
+
rnCSS?: string | undefined;
|
|
986
|
+
shared: unknown;
|
|
987
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
988
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TextInputProps & {
|
|
985
989
|
rnCSS?: `${string};` | undefined;
|
|
986
990
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
987
991
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
988
992
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
989
993
|
children?: React.ReactNode;
|
|
990
|
-
}
|
|
994
|
+
}, keyof Result_15> & Part_15 & Partial<RN.TextInputProps & {
|
|
991
995
|
rnCSS?: `${string};` | undefined;
|
|
992
996
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
993
997
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
994
998
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
995
999
|
children?: React.ReactNode;
|
|
996
|
-
} &
|
|
997
|
-
rnCSS?: string | undefined;
|
|
998
|
-
shared: unknown;
|
|
999
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1000
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_15> & React.RefAttributes<any>>;
|
|
1000
|
+
}>> & React.RefAttributes<any>>;
|
|
1001
1001
|
};
|
|
1002
1002
|
TouchableHighlight: {
|
|
1003
1003
|
<S_16>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_16 & RN.TouchableHighlightProps & {
|
|
@@ -1031,35 +1031,35 @@ declare const styled: {
|
|
|
1031
1031
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1032
1032
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1033
1033
|
children?: React.ReactNode;
|
|
1034
|
-
} & Part_16>>(opts:
|
|
1034
|
+
} & Part_16>>(opts: Result_16 | ((props: RN.TouchableHighlightProps & {
|
|
1035
1035
|
rnCSS?: `${string};` | undefined;
|
|
1036
1036
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1037
1037
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1038
1038
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1039
1039
|
children?: React.ReactNode;
|
|
1040
|
-
} & Part_16
|
|
1040
|
+
} & Part_16) => Result_16)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TouchableHighlightProps & {
|
|
1041
1041
|
rnCSS?: `${string};` | undefined;
|
|
1042
1042
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1043
1043
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1044
1044
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1045
1045
|
children?: React.ReactNode;
|
|
1046
|
-
} & Part_16
|
|
1046
|
+
} & Part_16 & {
|
|
1047
|
+
rnCSS?: string | undefined;
|
|
1048
|
+
shared: unknown;
|
|
1049
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
1050
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TouchableHighlightProps & {
|
|
1047
1051
|
rnCSS?: `${string};` | undefined;
|
|
1048
1052
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1049
1053
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1050
1054
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1051
1055
|
children?: React.ReactNode;
|
|
1052
|
-
}
|
|
1056
|
+
}, keyof Result_16> & Part_16 & Partial<RN.TouchableHighlightProps & {
|
|
1053
1057
|
rnCSS?: `${string};` | undefined;
|
|
1054
1058
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1055
1059
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1056
1060
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1057
1061
|
children?: React.ReactNode;
|
|
1058
|
-
} &
|
|
1059
|
-
rnCSS?: string | undefined;
|
|
1060
|
-
shared: unknown;
|
|
1061
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1062
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_16> & React.RefAttributes<any>>;
|
|
1062
|
+
}>> & React.RefAttributes<any>>;
|
|
1063
1063
|
};
|
|
1064
1064
|
TouchableNativeFeedback: {
|
|
1065
1065
|
<S_17>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_17 & RN.TouchableNativeFeedbackProps & {
|
|
@@ -1093,35 +1093,35 @@ declare const styled: {
|
|
|
1093
1093
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1094
1094
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1095
1095
|
children?: React.ReactNode;
|
|
1096
|
-
} & Part_17>>(opts:
|
|
1096
|
+
} & Part_17>>(opts: Result_17 | ((props: RN.TouchableNativeFeedbackProps & {
|
|
1097
1097
|
rnCSS?: `${string};` | undefined;
|
|
1098
1098
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1099
1099
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1100
1100
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1101
1101
|
children?: React.ReactNode;
|
|
1102
|
-
} & Part_17
|
|
1102
|
+
} & Part_17) => Result_17)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TouchableNativeFeedbackProps & {
|
|
1103
1103
|
rnCSS?: `${string};` | undefined;
|
|
1104
1104
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1105
1105
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1106
1106
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1107
1107
|
children?: React.ReactNode;
|
|
1108
|
-
} & Part_17
|
|
1108
|
+
} & Part_17 & {
|
|
1109
|
+
rnCSS?: string | undefined;
|
|
1110
|
+
shared: unknown;
|
|
1111
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
1112
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TouchableNativeFeedbackProps & {
|
|
1109
1113
|
rnCSS?: `${string};` | undefined;
|
|
1110
1114
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1111
1115
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1112
1116
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1113
1117
|
children?: React.ReactNode;
|
|
1114
|
-
}
|
|
1118
|
+
}, keyof Result_17> & Part_17 & Partial<RN.TouchableNativeFeedbackProps & {
|
|
1115
1119
|
rnCSS?: `${string};` | undefined;
|
|
1116
1120
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1117
1121
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1118
1122
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1119
1123
|
children?: React.ReactNode;
|
|
1120
|
-
} &
|
|
1121
|
-
rnCSS?: string | undefined;
|
|
1122
|
-
shared: unknown;
|
|
1123
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1124
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_17> & React.RefAttributes<any>>;
|
|
1124
|
+
}>> & React.RefAttributes<any>>;
|
|
1125
1125
|
};
|
|
1126
1126
|
TouchableOpacity: {
|
|
1127
1127
|
<S_18>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_18 & RN.TouchableOpacityProps & {
|
|
@@ -1155,35 +1155,35 @@ declare const styled: {
|
|
|
1155
1155
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1156
1156
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1157
1157
|
children?: React.ReactNode;
|
|
1158
|
-
} & Part_18>>(opts:
|
|
1158
|
+
} & Part_18>>(opts: Result_18 | ((props: RN.TouchableOpacityProps & {
|
|
1159
1159
|
rnCSS?: `${string};` | undefined;
|
|
1160
1160
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1161
1161
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1162
1162
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1163
1163
|
children?: React.ReactNode;
|
|
1164
|
-
} & Part_18
|
|
1164
|
+
} & Part_18) => Result_18)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TouchableOpacityProps & {
|
|
1165
1165
|
rnCSS?: `${string};` | undefined;
|
|
1166
1166
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1167
1167
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1168
1168
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1169
1169
|
children?: React.ReactNode;
|
|
1170
|
-
} & Part_18
|
|
1170
|
+
} & Part_18 & {
|
|
1171
|
+
rnCSS?: string | undefined;
|
|
1172
|
+
shared: unknown;
|
|
1173
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
1174
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TouchableOpacityProps & {
|
|
1171
1175
|
rnCSS?: `${string};` | undefined;
|
|
1172
1176
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1173
1177
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1174
1178
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1175
1179
|
children?: React.ReactNode;
|
|
1176
|
-
}
|
|
1180
|
+
}, keyof Result_18> & Part_18 & Partial<RN.TouchableOpacityProps & {
|
|
1177
1181
|
rnCSS?: `${string};` | undefined;
|
|
1178
1182
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1179
1183
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1180
1184
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1181
1185
|
children?: React.ReactNode;
|
|
1182
|
-
} &
|
|
1183
|
-
rnCSS?: string | undefined;
|
|
1184
|
-
shared: unknown;
|
|
1185
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1186
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_18> & React.RefAttributes<any>>;
|
|
1186
|
+
}>> & React.RefAttributes<any>>;
|
|
1187
1187
|
};
|
|
1188
1188
|
TouchableWithoutFeedback: {
|
|
1189
1189
|
<S_19>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_19 & RN.TouchableWithoutFeedbackProps & {
|
|
@@ -1217,35 +1217,35 @@ declare const styled: {
|
|
|
1217
1217
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1218
1218
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1219
1219
|
children?: React.ReactNode;
|
|
1220
|
-
} & Part_19>>(opts:
|
|
1220
|
+
} & Part_19>>(opts: Result_19 | ((props: RN.TouchableWithoutFeedbackProps & {
|
|
1221
1221
|
rnCSS?: `${string};` | undefined;
|
|
1222
1222
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1223
1223
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1224
1224
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1225
1225
|
children?: React.ReactNode;
|
|
1226
|
-
} & Part_19
|
|
1226
|
+
} & Part_19) => Result_19)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.TouchableWithoutFeedbackProps & {
|
|
1227
1227
|
rnCSS?: `${string};` | undefined;
|
|
1228
1228
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1229
1229
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1230
1230
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1231
1231
|
children?: React.ReactNode;
|
|
1232
|
-
} & Part_19
|
|
1232
|
+
} & Part_19 & {
|
|
1233
|
+
rnCSS?: string | undefined;
|
|
1234
|
+
shared: unknown;
|
|
1235
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
1236
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.TouchableWithoutFeedbackProps & {
|
|
1233
1237
|
rnCSS?: `${string};` | undefined;
|
|
1234
1238
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1235
1239
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1236
1240
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1237
1241
|
children?: React.ReactNode;
|
|
1238
|
-
}
|
|
1242
|
+
}, keyof Result_19> & Part_19 & Partial<RN.TouchableWithoutFeedbackProps & {
|
|
1239
1243
|
rnCSS?: `${string};` | undefined;
|
|
1240
1244
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1241
1245
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1242
1246
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1243
1247
|
children?: React.ReactNode;
|
|
1244
|
-
} &
|
|
1245
|
-
rnCSS?: string | undefined;
|
|
1246
|
-
shared: unknown;
|
|
1247
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1248
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_19> & React.RefAttributes<any>>;
|
|
1248
|
+
}>> & React.RefAttributes<any>>;
|
|
1249
1249
|
};
|
|
1250
1250
|
View: {
|
|
1251
1251
|
<S_13>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_13 & RN.ViewProps & {
|
|
@@ -1279,35 +1279,35 @@ declare const styled: {
|
|
|
1279
1279
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1280
1280
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1281
1281
|
children?: React.ReactNode;
|
|
1282
|
-
} & Part_13>>(opts:
|
|
1282
|
+
} & Part_13>>(opts: Result_13 | ((props: RN.ViewProps & {
|
|
1283
1283
|
rnCSS?: `${string};` | undefined;
|
|
1284
1284
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1285
1285
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1286
1286
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1287
1287
|
children?: React.ReactNode;
|
|
1288
|
-
} & Part_13
|
|
1288
|
+
} & Part_13) => Result_13)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: RN.ViewProps & {
|
|
1289
1289
|
rnCSS?: `${string};` | undefined;
|
|
1290
1290
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1291
1291
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1292
1292
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1293
1293
|
children?: React.ReactNode;
|
|
1294
|
-
} & Part_13
|
|
1294
|
+
} & Part_13 & {
|
|
1295
|
+
rnCSS?: string | undefined;
|
|
1296
|
+
shared: unknown;
|
|
1297
|
+
theme: import("./styleComponent").DefaultTheme;
|
|
1298
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<RN.ViewProps & {
|
|
1295
1299
|
rnCSS?: `${string};` | undefined;
|
|
1296
1300
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1297
1301
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1298
1302
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1299
1303
|
children?: React.ReactNode;
|
|
1300
|
-
}
|
|
1304
|
+
}, keyof Result_13> & Part_13 & Partial<RN.ViewProps & {
|
|
1301
1305
|
rnCSS?: `${string};` | undefined;
|
|
1302
1306
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1303
1307
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1304
1308
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1305
1309
|
children?: React.ReactNode;
|
|
1306
|
-
} &
|
|
1307
|
-
rnCSS?: string | undefined;
|
|
1308
|
-
shared: unknown;
|
|
1309
|
-
theme: import("./styleComponent").DefaultTheme;
|
|
1310
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Result_13> & React.RefAttributes<any>>;
|
|
1310
|
+
}>> & React.RefAttributes<any>>;
|
|
1311
1311
|
};
|
|
1312
1312
|
FlatList: {
|
|
1313
1313
|
<S_20>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_20 & RN.FlatListProps<any> & {
|
|
@@ -1327,35 +1327,29 @@ declare const styled: {
|
|
|
1327
1327
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1328
1328
|
children?: React.ReactNode;
|
|
1329
1329
|
} & RN.FlatListProps<Type>) => JSX.Element;
|
|
1330
|
-
attrs<S_21
|
|
1331
|
-
rnCSS?: `${string};` | undefined;
|
|
1332
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1333
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1334
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1335
|
-
children?: React.ReactNode;
|
|
1336
|
-
}> | ((props: S_21 & RN.FlatListProps<any> & {
|
|
1330
|
+
attrs<S_21, Result_20 extends Partial<S_21 & RN.FlatListProps<any> & {
|
|
1337
1331
|
rnCSS?: `${string};` | undefined;
|
|
1338
1332
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1339
1333
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1340
1334
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1341
1335
|
children?: React.ReactNode;
|
|
1342
|
-
}
|
|
1336
|
+
}> = {}>(opts: Result_20 | ((props: S_21 & {
|
|
1343
1337
|
rnCSS?: `${string};` | undefined;
|
|
1344
1338
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1345
1339
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1346
1340
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1347
1341
|
children?: React.ReactNode;
|
|
1348
|
-
} & RN.FlatListProps<any
|
|
1342
|
+
} & RN.FlatListProps<any>) => Result_20)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_21 & {
|
|
1349
1343
|
rnCSS?: string | undefined;
|
|
1350
1344
|
shared: unknown;
|
|
1351
1345
|
theme: import("./styleComponent").DefaultTheme;
|
|
1352
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props>(componentProps:
|
|
1346
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props>(componentProps: Omit<RN.FlatListProps<Props> & {
|
|
1353
1347
|
rnCSS?: `${string};` | undefined;
|
|
1354
1348
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1355
1349
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1356
1350
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1357
1351
|
children?: React.ReactNode;
|
|
1358
|
-
} &
|
|
1352
|
+
}, keyof Result_20> & S_21 & Partial<Result_20>) => JSX.Element;
|
|
1359
1353
|
};
|
|
1360
1354
|
SectionList: {
|
|
1361
1355
|
<S_22>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_22 & RN.SectionListProps<any, RN.DefaultSectionT> & {
|
|
@@ -1375,35 +1369,29 @@ declare const styled: {
|
|
|
1375
1369
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1376
1370
|
children?: React.ReactNode;
|
|
1377
1371
|
} & RN.SectionListProps<Type_1, RN.DefaultSectionT>) => JSX.Element;
|
|
1378
|
-
attrs<S_23
|
|
1372
|
+
attrs<S_23, Result_21 extends Partial<S_23 & RN.SectionListProps<any, RN.DefaultSectionT> & {
|
|
1379
1373
|
rnCSS?: `${string};` | undefined;
|
|
1380
1374
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1381
1375
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1382
1376
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1383
1377
|
children?: React.ReactNode;
|
|
1384
|
-
}> | ((props: S_23 &
|
|
1378
|
+
}> = {}>(opts: Result_21 | ((props: S_23 & {
|
|
1385
1379
|
rnCSS?: `${string};` | undefined;
|
|
1386
1380
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1387
1381
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1388
1382
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1389
1383
|
children?: React.ReactNode;
|
|
1390
|
-
}) =>
|
|
1391
|
-
rnCSS?: `${string};` | undefined;
|
|
1392
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1393
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1394
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1395
|
-
children?: React.ReactNode;
|
|
1396
|
-
} & RN.SectionListProps<any, RN.DefaultSectionT>>)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_23 & RN.SectionListProps<any, RN.DefaultSectionT> & {
|
|
1384
|
+
} & RN.SectionListProps<any, RN.DefaultSectionT>) => Result_21)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_23 & {
|
|
1397
1385
|
rnCSS?: string | undefined;
|
|
1398
1386
|
shared: unknown;
|
|
1399
1387
|
theme: import("./styleComponent").DefaultTheme;
|
|
1400
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props_1>(componentProps:
|
|
1388
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props_1>(componentProps: Omit<RN.SectionListProps<Props_1, RN.DefaultSectionT> & {
|
|
1401
1389
|
rnCSS?: `${string};` | undefined;
|
|
1402
1390
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1403
1391
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1404
1392
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1405
1393
|
children?: React.ReactNode;
|
|
1406
|
-
} &
|
|
1394
|
+
}, keyof Result_21> & S_23 & Partial<Result_21>) => JSX.Element;
|
|
1407
1395
|
};
|
|
1408
1396
|
VirtualizedList: {
|
|
1409
1397
|
<S_24>(chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_24 & RN.VirtualizedListProps<any> & {
|
|
@@ -1423,35 +1411,29 @@ declare const styled: {
|
|
|
1423
1411
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1424
1412
|
children?: React.ReactNode;
|
|
1425
1413
|
} & RN.VirtualizedListProps<Type_2>) => JSX.Element;
|
|
1426
|
-
attrs<S_25
|
|
1427
|
-
rnCSS?: `${string};` | undefined;
|
|
1428
|
-
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1429
|
-
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1430
|
-
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1431
|
-
children?: React.ReactNode;
|
|
1432
|
-
}> | ((props: S_25 & RN.VirtualizedListProps<any> & {
|
|
1414
|
+
attrs<S_25, Result_22 extends Partial<S_25 & RN.VirtualizedListProps<any> & {
|
|
1433
1415
|
rnCSS?: `${string};` | undefined;
|
|
1434
1416
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1435
1417
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1436
1418
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1437
1419
|
children?: React.ReactNode;
|
|
1438
|
-
}
|
|
1420
|
+
}> = {}>(opts: Result_22 | ((props: S_25 & {
|
|
1439
1421
|
rnCSS?: `${string};` | undefined;
|
|
1440
1422
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1441
1423
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1442
1424
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1443
1425
|
children?: React.ReactNode;
|
|
1444
|
-
} & RN.VirtualizedListProps<any
|
|
1426
|
+
} & RN.VirtualizedListProps<any>) => Result_22)): (chunks: TemplateStringsArray, ...functs: ((string | number | boolean | import("./types").CompleteStyle | null | undefined) | ((arg: S_25 & {
|
|
1445
1427
|
rnCSS?: string | undefined;
|
|
1446
1428
|
shared: unknown;
|
|
1447
1429
|
theme: import("./styleComponent").DefaultTheme;
|
|
1448
|
-
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props_2>(componentProps:
|
|
1430
|
+
}) => string | number | boolean | import("./types").CompleteStyle | null | undefined))[]) => <Props_2>(componentProps: Omit<RN.VirtualizedListProps<Props_2> & {
|
|
1449
1431
|
rnCSS?: `${string};` | undefined;
|
|
1450
1432
|
onMouseEnter?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1451
1433
|
onMouseLeave?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
1452
1434
|
onLayout?: ((event: RN.LayoutChangeEvent) => void) | undefined;
|
|
1453
1435
|
children?: React.ReactNode;
|
|
1454
|
-
} &
|
|
1436
|
+
}, keyof Result_22> & S_25 & Partial<Result_22>) => JSX.Element;
|
|
1455
1437
|
};
|
|
1456
1438
|
};
|
|
1457
1439
|
export default styled;
|
package/dist/styleComponent.d.ts
CHANGED
|
@@ -26,18 +26,18 @@ declare const styled: <StyleType, InitialProps extends {
|
|
|
26
26
|
<S>(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & Props>)[]): React.ForwardRefExoticComponent<Props & S & {
|
|
27
27
|
ref?: React.Ref<any> | undefined;
|
|
28
28
|
}>;
|
|
29
|
-
attrs<Part, Result extends Partial<Props & Part> = Partial<Props & Part>>(opts:
|
|
29
|
+
attrs<Part, Result extends Partial<Props & Part> = Partial<Props & Part>>(opts: Result | ((props: Props & Part) => Result)): (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<Props & Part>)[]) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<Props, keyof Result> & Part & Partial<Props>> & React.RefAttributes<any>>;
|
|
30
30
|
};
|
|
31
31
|
export default styled;
|
|
32
32
|
export declare const styledFlatList: {
|
|
33
33
|
<S>(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & FlatListProps<any> & OptionalProps>)[]): <Type>(props: S & OptionalProps & FlatListProps<Type>) => JSX.Element;
|
|
34
|
-
attrs<S_1
|
|
34
|
+
attrs<S_1, Result extends Partial<S_1 & FlatListProps<any> & OptionalProps> = {}>(opts: Result | ((props: S_1 & OptionalProps & FlatListProps<any>) => Result)): (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S_1>)[]) => <Props>(componentProps: Omit<FlatListProps<Props> & OptionalProps, keyof Result> & S_1 & Partial<Result>) => JSX.Element;
|
|
35
35
|
};
|
|
36
36
|
export declare const styledSectionList: {
|
|
37
37
|
<S>(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & SectionListProps<any, import("react-native").DefaultSectionT> & OptionalProps>)[]): <Type>(props: S & OptionalProps & SectionListProps<Type, import("react-native").DefaultSectionT>) => JSX.Element;
|
|
38
|
-
attrs<S_1
|
|
38
|
+
attrs<S_1, Result extends Partial<S_1 & SectionListProps<any, import("react-native").DefaultSectionT> & OptionalProps> = {}>(opts: Result | ((props: S_1 & OptionalProps & SectionListProps<any, import("react-native").DefaultSectionT>) => Result)): (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S_1>)[]) => <Props>(componentProps: Omit<SectionListProps<Props, import("react-native").DefaultSectionT> & OptionalProps, keyof Result> & S_1 & Partial<Result>) => JSX.Element;
|
|
39
39
|
};
|
|
40
40
|
export declare const styledVirtualizedList: {
|
|
41
41
|
<S>(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & VirtualizedListProps<any> & OptionalProps>)[]): <Type>(props: S & OptionalProps & VirtualizedListProps<Type>) => JSX.Element;
|
|
42
|
-
attrs<S_1
|
|
42
|
+
attrs<S_1, Result extends Partial<S_1 & VirtualizedListProps<any> & OptionalProps> = {}>(opts: Result | ((props: S_1 & OptionalProps & VirtualizedListProps<any>) => Result)): (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S_1>)[]) => <Props>(componentProps: Omit<VirtualizedListProps<Props> & OptionalProps, keyof Result> & S_1 & Partial<Result>) => JSX.Element;
|
|
43
43
|
};
|
package/dist/styleComponent.js
CHANGED
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.styledVirtualizedList = exports.styledSectionList = exports.styledFlatList = exports.SharedValue = exports.FontSizeContext = exports.RemContext = exports.defaultUnits = void 0;
|
|
7
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
7
8
|
/* eslint-disable react/prop-types */
|
|
8
9
|
/* eslint-disable react/display-name */
|
|
9
10
|
const react_1 = __importDefault(require("react"));
|
|
@@ -131,6 +132,7 @@ const styled = (Component) => {
|
|
|
131
132
|
// provide styled(Comp).attrs({} | () => {}) feature
|
|
132
133
|
styledComponent.attrs = (opts) => (chunks, ...functs) => {
|
|
133
134
|
const ComponentWithAttrs = styledComponent(chunks, ...functs);
|
|
135
|
+
// We need to limit the props control to only Result https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABBATgUwIZTQUQB7ZgAmaRAwnALYAOAPAAopzUDOAfABQU0BciH1Jqz6NmLAJSIAvG0QYwAT0kBvAFCJkCFlET5CJYt2rT+gsSKETpstRo3ooIFEiMDL49YgC+nvWmL+5FTUAHRYUCgsJrQASmgsIAA2OmgEgVH0GCiwGIkMlmyc4ZF8cQnJkjKItnYQWjqMaHVgwDAA5k5YpEYmbua6eBCJICT5YgA0iGVJUGyVNp52iA5OLsEcyiFbZqyTW2FQESxeHks+SyvOiI3NrR0oXUE0nufLaI5XfgGGwao+qqBILAEIgen1hNVENhtHxtCgYGA2pNtApEmhYREEW1vCpPJckDsWH9VM1tNd0Ld2j0pMh0F0viQntQuMFxAcjhsofEoHwAORwADWvJxqhuCDurmUiBRaL50KgwpOQA
|
|
134
136
|
const ForwardRefComponent = react_1.default.forwardRef((props, ref) => {
|
|
135
137
|
const attrs = (opts instanceof Function) ? opts(props) : opts;
|
|
136
138
|
return react_1.default.createElement(ComponentWithAttrs, { ref: ref, ...props, ...attrs });
|
package/package.json
CHANGED
package/src/styleComponent.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1
2
|
/* eslint-disable react/prop-types */
|
|
2
3
|
/* eslint-disable react/display-name */
|
|
3
4
|
import React, { MouseEvent } from 'react'
|
|
@@ -148,11 +149,12 @@ const styled = <StyleType, InitialProps extends { style?: StyleProp<StyleType> }
|
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
// provide styled(Comp).attrs({} | () => {}) feature
|
|
151
|
-
styledComponent.attrs = <Part, Result extends Partial<Props & Part> = Partial<Props & Part>>(opts:
|
|
152
|
+
styledComponent.attrs = <Part, Result extends Partial<Props & Part> = Partial<Props & Part>>(opts: Result | ((props: Props & Part) => Result)) => (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<Props & Part>)[]) => {
|
|
152
153
|
const ComponentWithAttrs = styledComponent(chunks, ...functs)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
// We need to limit the props control to only Result https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABBATgUwIZTQUQB7ZgAmaRAwnALYAOAPAAopzUDOAfABQU0BciH1Jqz6NmLAJSIAvG0QYwAT0kBvAFCJkCFlET5CJYt2rT+gsSKETpstRo3ooIFEiMDL49YgC+nvWmL+5FTUAHRYUCgsJrQASmgsIAA2OmgEgVH0GCiwGIkMlmyc4ZF8cQnJkjKItnYQWjqMaHVgwDAA5k5YpEYmbua6eBCJICT5YgA0iGVJUGyVNp52iA5OLsEcyiFbZqyTW2FQESxeHks+SyvOiI3NrR0oXUE0nufLaI5XfgGGwao+qqBILAEIgen1hNVENhtHxtCgYGA2pNtApEmhYREEW1vCpPJckDsWH9VM1tNd0Ld2j0pMh0F0viQntQuMFxAcjhsofEoHwAORwADWvJxqhuCDurmUiBRaL50KgwpOQA
|
|
155
|
+
const ForwardRefComponent = React.forwardRef<any, Omit<Props, keyof Result> & Part & Partial<Props>>((props, ref) => {
|
|
156
|
+
const attrs = (opts instanceof Function) ? opts(props as Props & Part) : opts
|
|
157
|
+
return <ComponentWithAttrs ref={ref} {...(props as Props & Part)} {...attrs} />
|
|
156
158
|
})
|
|
157
159
|
// TODO : Find a way to remove from the Props the properties affected by opts
|
|
158
160
|
return ForwardRefComponent
|
|
@@ -164,11 +166,11 @@ const styled = <StyleType, InitialProps extends { style?: StyleProp<StyleType> }
|
|
|
164
166
|
export default styled
|
|
165
167
|
|
|
166
168
|
export const styledFlatList = <S, >(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & FlatListProps<any> & OptionalProps>)[]) => <Type, >(props: S & OptionalProps & FlatListProps<Type>) => invoke(styled<ViewStyle, FlatListProps<Type>>(FlatList)(chunks, ...functs), props)
|
|
167
|
-
styledFlatList.attrs = <S,
|
|
169
|
+
styledFlatList.attrs = <S, Result extends Partial<S & FlatListProps<any> & OptionalProps> = {} > (opts: Result | ((props: S & OptionalProps & FlatListProps<any>) => Result)) => (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S>)[]) => <Props, >(componentProps: Omit<FlatListProps<Props> & OptionalProps, keyof Result> & S & Partial<Result>) => invoke(styled<ViewStyle, FlatListProps<Props>>(FlatList).attrs<S>(opts)(chunks, ...functs), componentProps as any)
|
|
168
170
|
export const styledSectionList = <S, >(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & SectionListProps<any> & OptionalProps>)[]) => <Type, >(props: S & OptionalProps & SectionListProps<Type>) => invoke(styled<ViewStyle, SectionListProps<Type>>(SectionList)(chunks, ...functs), props)
|
|
169
|
-
styledSectionList.attrs = <S,
|
|
171
|
+
styledSectionList.attrs = <S, Result extends Partial<S & SectionListProps<any> & OptionalProps> = {} >(opts: Result | ((props: S & OptionalProps & SectionListProps<any>) => Result)) => (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S>)[]) => <Props, >(componentProps: Omit<SectionListProps<Props> & OptionalProps, keyof Result> & S & Partial<Result>) => invoke(styled<ViewStyle, SectionListProps<Props>>(SectionList).attrs<S>(opts)(chunks, ...functs), componentProps as any)
|
|
170
172
|
export const styledVirtualizedList = <S, >(chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S & VirtualizedListProps<any> & OptionalProps>)[]) => <Type, >(props: S & OptionalProps & VirtualizedListProps<Type>) => invoke(styled<ViewStyle, VirtualizedListProps<Type>>(VirtualizedList)(chunks, ...functs), props)
|
|
171
|
-
styledVirtualizedList.attrs = <S,
|
|
173
|
+
styledVirtualizedList.attrs = <S, Result extends Partial<S & VirtualizedListProps<any> & OptionalProps> = {} >(opts: Result | ((props: S & OptionalProps & VirtualizedListProps<any>) => Result)) => (chunks: TemplateStringsArray, ...functs: (Primitive | Functs<S>)[]) => <Props, >(componentProps: Omit<VirtualizedListProps<Props> & OptionalProps, keyof Result> & S & Partial<Result>) => invoke(styled<ViewStyle, VirtualizedListProps<Props>>(VirtualizedList).attrs<S>(opts)(chunks, ...functs), componentProps as any)
|
|
172
174
|
|
|
173
175
|
function invoke<T> (Component: React.ComponentType<T>, props: T) {
|
|
174
176
|
return <Component {...props} />
|