import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import styled from "../core/styled.js";
import vui from "../core/vui.js";
import { useTableContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/table/tfoot.tsx
const TfootBase = styled.tfootBox``;
/** Displays Table footer. */
const Tfoot = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Table", useTableContext());
	return /* @__PURE__ */ jsx(TfootBase, {
		className: cs("vui-tfoot", className),
		ref,
		...styles.tfoot,
		...rest
	});
});
Tfoot.displayName = "Tfoot";

//#endregion
export { TfootBase, Tfoot as default };
globalThis.__vuiVersion__ = "4.0.0"
//# sourceMappingURL=tfoot.js.map