UNPKG

@table-utils/jsx-table

Version:

A simple, accessible table view.

6 lines (5 loc) 267 B
import { jsx as _jsx } from "react/jsx-runtime"; import { TableBody } from './TableBody'; export const TableFoot = ({ as = 'tfoot', ...rest }) => { return _jsx(TableBody, Object.assign({ as: as, role: as !== 'tfoot' ? 'rowgroup' : undefined }, rest), void 0); };