UNPKG

@wulperstudio/cms

Version:
19 lines 599 B
import React from 'react'; import { Root, Content, Drawer } from './styled'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; var LayoutCrudRight = function LayoutCrudRight(_ref) { var content = _ref.content, drawer = _ref.drawer, openDrawer = _ref.openDrawer, RootProps = _ref.RootProps; return /*#__PURE__*/_jsxs(Root, Object.assign({ openDrawer: openDrawer }, RootProps, { children: [/*#__PURE__*/_jsx(Content, { children: content }), drawer && /*#__PURE__*/_jsx(Drawer, { children: drawer })] })); }; export default LayoutCrudRight;