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