@hhgtech/hhg-components
Version:
Hello Health Group common components
28 lines (21 loc) • 1.28 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var tslib_es6 = require('./tslib.es6-af09a0ba.js');
var React = require('react');
var mobileBottomNavigationIcon = require('./MobileBottomNavigationIcon-9bb130dd.js');
require('./index-d4ad3f79.js');
require('@mantine/core');
require('./index-04864074.js');
require('./miscTheme.js');
require('@emotion/react');
require('@emotion/styled');
require('./utils-5e3a8440.js');
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefault(React);
const MobileBottomNavigationWrapper = (_a) => {
var { children, isCollapsed = false, template = 'homepage', refObject, height = 56 } = _a, rest = tslib_es6.__rest(_a, ["children", "isCollapsed", "template", "refObject", "height"]);
return (React__default["default"].createElement(mobileBottomNavigationIcon.StyledMobileBottomNavigation, Object.assign({ height: height, "data-is-collapsed": isCollapsed, "data-template": template, ref: refObject }, rest), children));
};
const MobileBottomNavigation = MobileBottomNavigationWrapper;
MobileBottomNavigation.Icon = mobileBottomNavigationIcon.MobileBottomNavigationIcon;
exports.MobileBottomNavigation = MobileBottomNavigation;