optgroup static method

DomProps optgroup([
  1. Map? backingMap
])

Returns a new builder that renders an <optgroup> tag with getters/setters for all DOM-related React props, optionally backed by a specified map.

Implementation

static DomProps optgroup([Map? backingMap]) => DomProps(react.optgroup, backingMap);