koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
19 lines (18 loc) • 592 B
JavaScript
"use client";
import { jsx as f } from "react/jsx-runtime";
import { forwardRef as i } from "react";
import { useLocalTheme as c } from "css-vars-hook";
import l from "classnames";
import { useLinkRefs as p } from "../../internal/hooks/useLinkRefs.js";
import n from "./Layout.module.css.js";
const R = i(
({ className: o, children: r, as: e = "div", ...m }, s) => {
const { LocalRoot: t, ref: a } = c();
return p(s, a), /* @__PURE__ */ f(t, { ...m, as: e, className: l(n.row, o), children: r });
}
);
R.displayName = "Row";
export {
R as Row
};
//# sourceMappingURL=Row.js.map