$ol

El $ol({

  1. String? className,
  2. String? id,
  3. int? start,
  4. String? type,
  5. bool? reversed,
  6. Map<String, dynamic>? style,
  7. Map<String, dynamic>? props,
})

Creates an <ol> element wrapper for JSX-style composition.

Implementation

El $ol({
  String? className,
  String? id,
  int? start,
  String? type,
  bool? reversed,
  Map<String, dynamic>? style,
  Map<String, dynamic>? props,
}) {
  final p = _buildJsxProps(
    className: className,
    id: id,
    style: style,
    props: props,
  );
  if (start != null) p['start'] = start;
  if (type != null) p['type'] = type;
  if (reversed != null) p['reversed'] = reversed;
  return El(_createJsxElement('ol', p));
}