@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
46 lines • 958 B
JavaScript
import { c as _c } from "react-compiler-runtime";
import { forwardRef } from "react";
import classNames from "classnames";
import { jsx as _jsx } from "react/jsx-runtime";
const Breadcrumbs = /*#__PURE__*/forwardRef((t0, ref) => {
const $ = _c(9);
let className;
let props;
if ($[0] !== t0) {
({
className,
...props
} = t0);
$[0] = t0;
$[1] = className;
$[2] = props;
} else {
className = $[1];
props = $[2];
}
let t1;
if ($[3] !== className) {
t1 = classNames(className, "bf-breadcrumbs");
$[3] = className;
$[4] = t1;
} else {
t1 = $[4];
}
let t2;
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
t2 = /*#__PURE__*/_jsx("div", {
className: t1,
ref: ref,
...props
});
$[5] = props;
$[6] = ref;
$[7] = t1;
$[8] = t2;
} else {
t2 = $[8];
}
return t2;
});
Breadcrumbs.displayName = "Breadcrumbs";
export default Breadcrumbs;