17
17
/// Various prop related mixins to be used with `UiComponent` descendants.
18
18
library over_react.prop_mixins;
19
19
20
- import 'package:over_react/over_react.dart' show AriaPropsMapView, AriaPropsMixin, DomProps, PropsMeta, ReactNode ;
20
+ import 'package:over_react/over_react.dart' show AriaPropsMapView, AriaPropsMixin, DomProps, PropsMeta;
21
21
// Must import these consts because they are used in the transformed code.
22
22
// ignore: deprecated_member_use, unused_shown_name
23
23
import 'package:over_react/over_react.dart' show PropDescriptor, ConsumedProps, PropsMeta;
@@ -46,10 +46,10 @@ abstract class _$ReactPropsMixin {
46
46
47
47
// This private field is namespaced to avoid colliding with other classes.
48
48
@Accessor (key: 'children' )
49
- ReactNode _raw$ReactProps$children;
49
+ dynamic _raw$ReactProps$children;
50
50
51
51
/// The children that were passed in to this component when it was built.
52
- List <ReactNode >? get children {
52
+ List <dynamic >? get children {
53
53
final value = _raw$ReactProps$children;
54
54
55
55
// Most common case; Dart components should all have List children
@@ -68,7 +68,7 @@ abstract class _$ReactPropsMixin {
68
68
return [value];
69
69
}
70
70
71
- set children (List <ReactNode >? value) => _raw$ReactProps$children = value;
71
+ set children (List <dynamic >? value) => _raw$ReactProps$children = value;
72
72
73
73
/// A String that differentiates a component from its siblings.
74
74
///
0 commit comments