$th
Creates a <th> element wrapper for JSX-style composition.
Implementation
El $th({
String? key,
String? className,
String? id,
int? colSpan,
int? rowSpan,
String? scope,
Map<String, dynamic>? style,
Map<String, dynamic>? spread,
}) {
final p = _buildJsxProps(
key: key,
className: className,
id: id,
style: style,
spread: spread,
);
if (colSpan != null) p['colSpan'] = colSpan;
if (rowSpan != null) p['rowSpan'] = rowSpan;
if (scope != null) p['scope'] = scope;
return El(_createJsxElement('th', p));
}