Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/common/components/SidebarPanelHeader",["module","exports","require","@frontend-taglib-clay$clayui/button","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../app/actions/index","../../app/contexts/StoreContext"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e}){const t=(0,i.useDispatch)();return l.default.createElement("div",{className:(0,r.default)("align-items-center d-flex justify-content-between my-3 pl-3 pr-2 page-editor__sidebar__panel-header")},l.default.createElement("h1",{className:"flex-grow-1 mb-0 mr-1 text-3"},e),l.default.createElement(n.ClayButtonWithIcon,{displayType:"unstyled",onClick:()=>{t((0,o.switchSidebarPanel)({sidebarOpen:!1}))},small:!0,symbol:"times",title:Liferay.Language.get("close")}))};var n=a("@frontend-taglib-clay$clayui/button"),r=s(a("liferay!frontend-js-react-web$classnames")),l=(s(a("liferay!frontend-js-react-web$prop-types")),s(a("liferay!frontend-js-react-web$react"))),o=a("../../app/actions/index"),i=a("../../app/contexts/StoreContext");function s(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=SidebarPanelHeader.js.map