legend static method
Returns a new builder that renders a <legend>
tag with getters/setters for all DOM-related React props,
optionally backed by a specified map.
Implementation
static DomProps legend([Map? backingMap]) => DomProps(react.legend, backingMap);