$form
Creates a <form> element wrapper for JSX-style composition.
Implementation
El $form({
String? className,
String? id,
String? action,
String? method,
Map<String, dynamic>? style,
Map<String, dynamic>? props,
void Function(SyntheticEvent)? onSubmit,
}) {
final p = _buildJsxProps(
className: className,
id: id,
style: style,
props: props,
onSubmit: onSubmit,
);
if (action != null) p['action'] = action;
if (method != null) p['method'] = method;
return El(_createJsxElement('form', p));
}