UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

18 lines (17 loc) 529 B
import { jsx as _jsx } from "react/jsx-runtime"; import { forwardRef } from "react"; import Box from "../Box/Box.js"; import classNames from "classnames"; const Section = /*#__PURE__*/ forwardRef(({ children, ...props }, ref)=>{ return /*#__PURE__*/ _jsx(Box, { radius: true, background: true, shadow: true, ...props, className: classNames("bf-medium", props.className), ref: ref, children: children }); }); Section.displayName = "Section"; export default Section;