UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

33 lines 778 B
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 InlineStretch = /*#__PURE__*/forwardRef((props, ref) => { const $ = _c(6); const t0 = props?.className; let t1; if ($[0] !== t0) { t1 = classNames("bf-inline-stretch-wrapper", t0); $[0] = t0; $[1] = t1; } else { t1 = $[1]; } let t2; if ($[2] !== props || $[3] !== ref || $[4] !== t1) { t2 = /*#__PURE__*/_jsx("div", { ...props, className: t1, ref: ref }); $[2] = props; $[3] = ref; $[4] = t1; $[5] = t2; } else { t2 = $[5]; } return t2; }); InlineStretch.displayName = "Inline.Stretch"; export default InlineStretch;