label function

Node label({
  1. String? for_,
  2. String? form,
  3. String? id,
  4. dynamic className,
  5. dynamic style,
  6. Map<String, dynamic> p = const {},
  7. Iterable<Node> c = const [],
})

Implementation

Node label({
  String? for_,
  String? form,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) => h(
  'label',
  _apply(
    [p],
    {'for': for_, 'form': form, 'id': id, 'class': className, 'style': style},
  ),
  [...c],
);