@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
70 lines • 1.46 kB
JavaScript
import { c as _c } from "react-compiler-runtime";
import classNames from "classnames";
import { forwardRef } from "react";
import Box from "../Box/Box.js";
import { jsx as _jsx } from "react/jsx-runtime";
const SectionContent = /*#__PURE__*/forwardRef((t0, ref) => {
const $ = _c(17);
let T0;
let children;
let t1;
let t2;
let t3;
let t4;
let t5;
if ($[0] !== t0) {
const {
children: t6,
...props
} = t0;
children = t6;
T0 = Box;
t1 = 16;
t2 = true;
t3 = true;
t4 = props;
t5 = classNames(props.className, "bf-section-content");
$[0] = t0;
$[1] = T0;
$[2] = children;
$[3] = t1;
$[4] = t2;
$[5] = t3;
$[6] = t4;
$[7] = t5;
} else {
T0 = $[1];
children = $[2];
t1 = $[3];
t2 = $[4];
t3 = $[5];
t4 = $[6];
t5 = $[7];
}
let t6;
if ($[8] !== T0 || $[9] !== children || $[10] !== ref || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5) {
t6 = /*#__PURE__*/_jsx(T0, {
padding: t1,
radiusBottomRight: t2,
radiusBottomLeft: t3,
...t4,
className: t5,
ref: ref,
children: children
});
$[8] = T0;
$[9] = children;
$[10] = ref;
$[11] = t1;
$[12] = t2;
$[13] = t3;
$[14] = t4;
$[15] = t5;
$[16] = t6;
} else {
t6 = $[16];
}
return t6;
});
SectionContent.displayName = "Section.Content";
export default SectionContent;