Liferay.Loader.define("@liferay/object-js-components-web@1.0.58/components/Panel/PanelBody",["module","exports","require","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","./objectPanelContext","./Panel.scss"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.PanelBody=function PanelBody({children:e,className:t}){const[{expanded:n}]=(0,r.usePanelContext)();return l.default.createElement(l.default.Fragment,null,n&&l.default.createElement("div",{className:(0,a.default)(t,"object-admin-panel__body")},e))},t.PanelSimpleBody=function PanelSimpleBody({children:e,contentRight:t,title:n}){return l.default.createElement("div",{className:"object-admin-panel__simple-body"},l.default.createElement("div",{className:"object-admin-panel__simple-body__content-left"},l.default.createElement("div",null,l.default.createElement("h5",{className:"object-admin-panel__title"},n),l.default.createElement("div",null,e))),l.default.createElement("div",{className:"object-admin-panel__simple-body__content-right"},t))};var a=_interopRequireDefault(n("liferay!frontend-js-react-web$classnames")),l=_interopRequireDefault(n("liferay!frontend-js-react-web$react")),r=n("./objectPanelContext");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}n("./Panel.scss")}}));
//# sourceMappingURL=PanelBody.js.map