table function
Semantic <table> wrapper container primitive.
Implementation
BloomNode table({
required List<BloomNode> children,
String extraClassName = '',
}) {
return Div(
className: 'relative w-full overflow-x-auto rounded-[var(--radius-md)] border border-[var(--border)]',
children: [
El(
'table',
className: cn(['w-full caption-bottom text-sm text-[var(--text)]', extraClassName]),
children: children,
),
],
);
}