@@ -80,7 +80,7 @@ trait UniversalComponents {
80
80
: ReactElement { type Instance = ActivityIndicatorComponent .type } = {
81
81
val props = FunctionObjectMacro ()
82
82
extraProps.foreach(v => { MergeJSObjects (props, v) })
83
- CreateElementJS [ActivityIndicatorComponent .type ](
83
+ CreateElementJSNoInline [ActivityIndicatorComponent .type ](
84
84
ActivityIndicatorComponent ,
85
85
props.asInstanceOf [ActivityIndicatorProps ],
86
86
key,
@@ -194,7 +194,7 @@ trait UniversalComponents {
194
194
: ReactElement { type Instance = KeyboardAvoidingViewComponent .type } = {
195
195
val props = FunctionObjectMacro ()
196
196
extraProps.foreach(v => { MergeJSObjects (props, v) })
197
- CreateElementJS [KeyboardAvoidingViewComponent .type ](
197
+ CreateElementJSNoInline [KeyboardAvoidingViewComponent .type ](
198
198
KeyboardAvoidingViewComponent ,
199
199
props.asInstanceOf [KeyboardAvoidingViewProps ],
200
200
key,
@@ -204,7 +204,7 @@ trait UniversalComponents {
204
204
205
205
@ inline
206
206
def KeyboardAvoidingView (children : ReactNode * ) =
207
- CreateElementJS [KeyboardAvoidingViewComponent .type ](
207
+ CreateElementJSNoInline [KeyboardAvoidingViewComponent .type ](
208
208
KeyboardAvoidingViewComponent ,
209
209
json().asInstanceOf [KeyboardAvoidingViewProps ],
210
210
children = children.toJSArray)
@@ -227,7 +227,7 @@ trait UniversalComponents {
227
227
: ReactElement { type Instance = ScrollViewComponent .type } = {
228
228
val props = FunctionObjectMacro ()
229
229
extraProps.foreach(v => { MergeJSObjects (props, v) })
230
- CreateElementJS [ScrollViewComponent .type ](
230
+ CreateElementJSNoInline [ScrollViewComponent .type ](
231
231
ScrollViewComponent ,
232
232
props.asInstanceOf [ScrollViewProps ],
233
233
key,
@@ -237,7 +237,7 @@ trait UniversalComponents {
237
237
238
238
@ inline
239
239
def ScrollView (children : ReactNode * ) =
240
- CreateElementJS [ScrollViewComponent .type ](
240
+ CreateElementJSNoInline [ScrollViewComponent .type ](
241
241
ScrollViewComponent ,
242
242
json().asInstanceOf [ScrollViewProps ],
243
243
children = children.toJSArray)
@@ -285,18 +285,20 @@ trait UniversalComponents {
285
285
: ReactElement { type Instance = ModalComponent .type } = {
286
286
val props = FunctionObjectMacro ()
287
287
extraProps.foreach(v => { MergeJSObjects (props, v) })
288
- CreateElementJS [ModalComponent .type ](ModalComponent ,
289
- props.asInstanceOf [ModalProps ],
290
- key,
291
- ref,
292
- children.toJSArray)
288
+ CreateElementJSNoInline [ModalComponent .type ](
289
+ ModalComponent ,
290
+ props.asInstanceOf [ModalProps ],
291
+ key,
292
+ ref,
293
+ children.toJSArray)
293
294
}
294
295
295
296
@ inline
296
297
def Modal (children : ReactNode * ) =
297
- CreateElementJS [ModalComponent .type ](ModalComponent ,
298
- json().asInstanceOf [ModalProps ],
299
- children = children.toJSArray)
298
+ CreateElementJSNoInline [ModalComponent .type ](
299
+ ModalComponent ,
300
+ json().asInstanceOf [ModalProps ],
301
+ children = children.toJSArray)
300
302
301
303
@ inline
302
304
def Picker [T ](style : U [js.Any ] = NoValue ,
@@ -310,18 +312,20 @@ trait UniversalComponents {
310
312
implicit def toToAny (t : T ): js.Any = t.asInstanceOf [js.Any ]
311
313
val props = FunctionObjectMacro ()
312
314
extraProps.foreach(v => { MergeJSObjects (props, v) })
313
- CreateElementJS [PickerComponent .type ](PickerComponent ,
314
- props.asInstanceOf [PickerProps [T ]],
315
- key,
316
- ref,
317
- children.toJSArray)
315
+ CreateElementJSNoInline [PickerComponent .type ](
316
+ PickerComponent ,
317
+ props.asInstanceOf [PickerProps [T ]],
318
+ key,
319
+ ref,
320
+ children.toJSArray)
318
321
}
319
322
320
323
@ inline
321
324
def Picker (children : ReactNode * ) =
322
- CreateElementJS [PickerComponent .type ](PickerComponent ,
323
- json().asInstanceOf [PickerProps [_]],
324
- children = children.toJSArray)
325
+ CreateElementJSNoInline [PickerComponent .type ](
326
+ PickerComponent ,
327
+ json().asInstanceOf [PickerProps [_]],
328
+ children = children.toJSArray)
325
329
326
330
@ inline
327
331
def PickerItem [T ](
@@ -335,7 +339,7 @@ trait UniversalComponents {
335
339
implicit def toToAny (t : T ): js.Any = t.asInstanceOf [js.Any ]
336
340
val props = FunctionObjectMacro ()
337
341
extraProps.foreach(v => { MergeJSObjects (props, v) })
338
- CreateElementJS [PickerItemComponent .type ](
342
+ CreateElementJSNoInline [PickerItemComponent .type ](
339
343
PickerItemComponent ,
340
344
props.asInstanceOf [PickerItemProps [T ]],
341
345
key,
@@ -352,10 +356,11 @@ trait UniversalComponents {
352
356
: ReactElement { type Instance = SliderComponent .type } = {
353
357
val props = FunctionObjectMacro ()
354
358
extraProps.foreach(v => { MergeJSObjects (props, v) })
355
- CreateElementJS [SliderComponent .type ](SliderComponent ,
356
- props.asInstanceOf [SliderProps ],
357
- key,
358
- ref)
359
+ CreateElementJSNoInline [SliderComponent .type ](
360
+ SliderComponent ,
361
+ props.asInstanceOf [SliderProps ],
362
+ key,
363
+ ref)
359
364
}
360
365
361
366
@ inline
@@ -371,10 +376,11 @@ trait UniversalComponents {
371
376
: ReactElement { type Instance = SwitchComponent .type } = {
372
377
val props = FunctionObjectMacro ()
373
378
extraProps.foreach(v => { MergeJSObjects (props, v) })
374
- CreateElementJS [SwitchComponent .type ](SwitchComponent ,
375
- props.asInstanceOf [SwitchProps ],
376
- key,
377
- ref)
379
+ CreateElementJSNoInline [SwitchComponent .type ](
380
+ SwitchComponent ,
381
+ props.asInstanceOf [SwitchProps ],
382
+ key,
383
+ ref)
378
384
}
379
385
380
386
@ inline
@@ -389,18 +395,18 @@ trait UniversalComponents {
389
395
: ReactElement { type Instance = TextComponent .type } = {
390
396
val props = FunctionObjectMacro ()
391
397
extraProps.foreach(v => { MergeJSObjects (props, v) })
392
- CreateElementJS [TextComponent .type ](TextComponent ,
393
- props.asInstanceOf [TextProps ],
394
- key,
395
- ref,
396
- children.toJSArray)
398
+ CreateElementJSNoInline [TextComponent .type ](TextComponent ,
399
+ props.asInstanceOf [TextProps ],
400
+ key,
401
+ ref,
402
+ children.toJSArray)
397
403
}
398
404
399
405
@ inline
400
406
def Text (children : ReactNode * ) =
401
- CreateElementJS [TextComponent .type ](TextComponent ,
402
- json().asInstanceOf [TextProps ],
403
- children = children.toJSArray)
407
+ CreateElementJSNoInline [TextComponent .type ](TextComponent ,
408
+ json().asInstanceOf [TextProps ],
409
+ children = children.toJSArray)
404
410
405
411
@ inline
406
412
def AnimatedText (
@@ -412,18 +418,20 @@ trait UniversalComponents {
412
418
: ReactElement { type Instance = AnimatedTextComponent .type } = {
413
419
val props = FunctionObjectMacro ()
414
420
extraProps.foreach(v => { MergeJSObjects (props, v) })
415
- CreateElementJS [AnimatedTextComponent .type ](AnimatedTextComponent ,
416
- props.asInstanceOf [TextProps ],
417
- key,
418
- ref,
419
- children.toJSArray)
421
+ CreateElementJSNoInline [AnimatedTextComponent .type ](
422
+ AnimatedTextComponent ,
423
+ props.asInstanceOf [TextProps ],
424
+ key,
425
+ ref,
426
+ children.toJSArray)
420
427
}
421
428
422
429
@ inline
423
430
def AnimatedText (children : ReactNode * ) =
424
- CreateElementJS [AnimatedTextComponent .type ](AnimatedTextComponent ,
425
- json().asInstanceOf [TextProps ],
426
- children = children.toJSArray)
431
+ CreateElementJSNoInline [AnimatedTextComponent .type ](
432
+ AnimatedTextComponent ,
433
+ json().asInstanceOf [TextProps ],
434
+ children = children.toJSArray)
427
435
428
436
@ inline
429
437
def TextInput (style : U [js.Any ] = NoValue ,
@@ -447,7 +455,7 @@ trait UniversalComponents {
447
455
: ReactElement { type Instance = TextInputComponent .type } = {
448
456
val props = FunctionObjectMacro ()
449
457
extraProps.foreach(v => { MergeJSObjects (props, v) })
450
- CreateElementJS [TextInputComponent .type ](
458
+ CreateElementJSNoInline [TextInputComponent .type ](
451
459
TextInputComponent ,
452
460
props.asInstanceOf [TextInputProps ],
453
461
key,
@@ -473,7 +481,7 @@ trait UniversalComponents {
473
481
: ReactElement { type Instance = TextInputComponent .type } = {
474
482
val props = FunctionObjectMacro ()
475
483
extraProps.foreach(v => { MergeJSObjects (props, v) })
476
- CreateElementJS [TextInputComponent .type ](
484
+ CreateElementJSNoInline [TextInputComponent .type ](
477
485
TextInputComponent ,
478
486
props.asInstanceOf [TextInputProps ],
479
487
key,
@@ -496,7 +504,7 @@ trait UniversalComponents {
496
504
} = {
497
505
val props = FunctionObjectMacro ()
498
506
extraProps.foreach(v => { MergeJSObjects (props, v) })
499
- CreateElementJS [TouchableWithoutFeedbackComponent .type ](
507
+ CreateElementJSNoInline [TouchableWithoutFeedbackComponent .type ](
500
508
TouchableWithoutFeedbackComponent ,
501
509
props.asInstanceOf [TouchableWithoutFeedbackProps ],
502
510
key,
@@ -522,7 +530,7 @@ trait UniversalComponents {
522
530
: ReactElement { type Instance = TouchableHighlightComponent .type } = {
523
531
val props = FunctionObjectMacro ()
524
532
extraProps.foreach(v => { MergeJSObjects (props, v) })
525
- CreateElementJS [TouchableHighlightComponent .type ](
533
+ CreateElementJSNoInline [TouchableHighlightComponent .type ](
526
534
TouchableHighlightComponent ,
527
535
props.asInstanceOf [TouchableHighlightProps ],
528
536
key,
@@ -545,7 +553,7 @@ trait UniversalComponents {
545
553
: ReactElement { type Instance = TouchableOpacityComponent .type } = {
546
554
val props = FunctionObjectMacro ()
547
555
extraProps.foreach(v => { MergeJSObjects (props, v) })
548
- CreateElementJS [TouchableOpacityComponent .type ](
556
+ CreateElementJSNoInline [TouchableOpacityComponent .type ](
549
557
TouchableOpacityComponent ,
550
558
props.asInstanceOf [TouchableOpacityProps ],
551
559
key,
@@ -568,7 +576,7 @@ trait UniversalComponents {
568
576
: ReactElement { type Instance = RefreshControlComponent .type } = {
569
577
val props = FunctionObjectMacro ()
570
578
extraProps.foreach(v => { MergeJSObjects (props, v) })
571
- CreateElementJS [RefreshControlComponent .type ](
579
+ CreateElementJSNoInline [RefreshControlComponent .type ](
572
580
RefreshControlComponent ,
573
581
props.asInstanceOf [RefreshControlProps ],
574
582
key,
0 commit comments