UNPKG

@guestbell/react-page-plugins

Version:

Plugins we use in GuestBell for working with amazing react-page package

30 lines (29 loc) 1.25 kB
import * as React from 'react'; import { lazyLoad } from '@react-page/editor'; import { HeadingButton } from './HeadingButton'; import { HeadingLevels } from './headingLevels'; var H1Icon = lazyLoad(function () { return import('@mui/icons-material/LooksOne'); }); var H2Icon = lazyLoad(function () { return import('@mui/icons-material/LooksTwo'); }); var H3Icon = lazyLoad(function () { return import('@mui/icons-material/Looks3'); }); /*const H4Icon = lazyLoad(() => import('@mui/icons-material/Looks4')); const H5Icon = lazyLoad(() => import('@mui/icons-material/Looks5')); const H6Icon = lazyLoad(() => import('@mui/icons-material/Looks6'));*/ export var HeadingButtons = function HeadingButtons() { return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HeadingButton, { level: HeadingLevels.H1, icon: /*#__PURE__*/React.createElement(H1Icon, null) }), /*#__PURE__*/React.createElement(HeadingButton, { level: HeadingLevels.H2, icon: /*#__PURE__*/React.createElement(H2Icon, null) }), /*#__PURE__*/React.createElement(HeadingButton, { level: HeadingLevels.H3, icon: /*#__PURE__*/React.createElement(H3Icon, null) })); }; //# sourceMappingURL=HeadingButtons.js.map