tableCaption function

BloomNode tableCaption({
  1. required String text,
  2. String extraClassName = '',
})

Semantic <caption> table caption element.

Implementation

BloomNode tableCaption({
  required String text,
  String extraClassName = '',
}) {
  return El(
    'caption',
    className: cn(['mt-4 text-xs text-[var(--text-muted)]', extraClassName]),
    text: text,
  );
}