import { jsx as _jsx } from "react/jsx-runtime";
import { styled, useStyleConfig, vui } from '../core';
import { cs } from '../utils';
import { useTableContext } from './context';
export const TfootBase = styled.tfootBox ``;
/** Displays Table footer. */
export const Tfoot = vui((props, ref) => {
    const { className, ...rest } = props;
    const styles = useStyleConfig('Table', useTableContext());
    return _jsx(TfootBase, { className: cs('vui-tfoot', className), ref: ref, ...styles.tfoot, ...rest });
});
Tfoot.displayName = 'Tfoot';
export default Tfoot;
//# sourceMappingURL=tfoot.js.map