@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
22 lines • 761 B
JavaScript
import React from 'react';
import { Root, Content, DrawerLeft, DrawerRight } from './styled';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var LayoutCrudRightLeft = function LayoutCrudRightLeft(_ref) {
var content = _ref.content,
drawerLeft = _ref.drawerLeft,
drawerRight = _ref.drawerRight,
columnGap = _ref.columnGap,
boxProps = _ref.boxProps;
return /*#__PURE__*/_jsxs(Root, Object.assign({
columnGap: columnGap
}, boxProps, {
children: [drawerLeft && /*#__PURE__*/_jsx(DrawerLeft, {
children: drawerLeft
}), /*#__PURE__*/_jsx(Content, {
children: content
}), drawerRight && /*#__PURE__*/_jsx(DrawerRight, {
children: drawerRight
})]
}));
};
export default LayoutCrudRightLeft;