UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

26 lines (24 loc) 774 B
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 { Tfoot, Tfoot as default, TfootBase }; globalThis.__vuiVersion__ = "5.3.1" //# sourceMappingURL=tfoot.js.map