UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

15 lines (14 loc) 522 B
"use client"; import { jsx as s } from "react/jsx-runtime"; import { memo as l, useMemo as p } from "react"; import { useLocalTheme as t } from "css-vars-hook"; import a from "./Cells.module.css.js"; const c = l(({ children: o, columnWidth: e = 166 }) => { const { LocalRoot: r } = t(), m = p(() => ({ "column-width": e }), [e]); return /* @__PURE__ */ s(r, { className: a.cellWrapper, theme: m, children: o }); }); c.displayName = "CellWrapper"; export { c as CellWrapper }; //# sourceMappingURL=CellWrapper.js.map