UNPKG

koval-ui

Version:

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

24 lines (23 loc) 529 B
"use client"; import { jsx as t } from "react/jsx-runtime"; import { forwardRef as f } from "react"; import i from "classnames"; import { Row as p } from "./Row.js"; import r from "./Layout.module.css.js"; const c = f( ({ children: e, sticky: s = !1, className: a, ...o }, m) => /* @__PURE__ */ t( p, { ...o, as: "header", ref: m, className: i(r.header, { [r.sticky]: s }, a), children: e } ) ); c.displayName = "Header"; export { c as Header }; //# sourceMappingURL=Header.js.map