UNPKG

koval-ui

Version:

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

19 lines (18 loc) 460 B
"use client"; import { jsx as t } from "react/jsx-runtime"; import { useMemo as r } from "react"; import { useLocalTheme as c } from "css-vars-hook"; import l from "./Carousel.module.css.js"; const n = ({ children: e, index: o }) => { const m = r( () => ({ index: o }), [o] ), { LocalRoot: s } = c(); return /* @__PURE__ */ t(s, { theme: m, className: l.cell, children: e }); }; export { n as Cell }; //# sourceMappingURL=Cell.js.map