UNPKG

@postenbring/hedwig-react

Version:

React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).

22 lines (20 loc) 787 B
import { __objRest, __spreadProps, __spreadValues } from "./chunk-YOSPWY5K.mjs"; // src/breadcrumbs/breadcrumbs.tsx import { forwardRef } from "react"; import { clsx } from "@postenbring/hedwig-css/typed-classname"; import { jsx } from "react/jsx-runtime"; var Breadcrumbs = forwardRef( (_a, ref) => { var _b = _a, { olProps, children } = _b, rest = __objRest(_b, ["olProps", "children"]); return /* @__PURE__ */ jsx("nav", __spreadProps(__spreadValues({ ref }, rest), { children: /* @__PURE__ */ jsx("ol", __spreadProps(__spreadValues({}, olProps), { className: clsx("hds-breadcrumbs", olProps == null ? void 0 : olProps.className), children })) })); } ); Breadcrumbs.displayName = "Breadcrumbs"; export { Breadcrumbs }; //# sourceMappingURL=chunk-A42PXOVR.mjs.map