div function

ReactNode div({
  1. Map<String, Object?> props = const {},
  2. ReactChildren children = const [],
  3. String? key,
})

Implementation

ReactNode div({
  Map<String, Object?> props = const {},
  ReactChildren children = const [],
  String? key,
}) {
  return HostNode<Map<String, Object?>>(
    _divHost,
    props,
    children: normalizeChildren(children),
    key: key,
  );
}