UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

17 lines (16 loc) 554 B
import { jsx as _jsx } from "react/jsx-runtime"; import { forwardRef } from "react"; import classnames from "classnames"; /** * Display a floating bar with custom content at bottom of screen */ const BottomBar = /*#__PURE__*/ forwardRef(({ className, noPadding, ...props }, ref)=>{ return /*#__PURE__*/ _jsx("div", { ...props, className: classnames("bf-bottom-bar", className, { "bf-bottom-bar-nopadding": noPadding }), ref: ref }); }); BottomBar.displayName = "BottomBar"; export default BottomBar;