UNPKG

@wordpress/block-editor

Version:
17 lines (16 loc) 833 B
// packages/block-editor/src/components/inspector-controls-tabs/settings-tab.js import AdvancedControls from "./advanced-controls-panel"; import PositionControls from "./position-controls-panel"; import { default as InspectorControls } from "../inspector-controls"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; var SettingsTab = ({ showAdvancedControls = false }) => /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx(InspectorControls.Slot, {}), /* @__PURE__ */ jsx(PositionControls, {}), /* @__PURE__ */ jsx(InspectorControls.Slot, { group: "bindings" }), showAdvancedControls && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AdvancedControls, {}) }) ] }); var settings_tab_default = SettingsTab; export { settings_tab_default as default }; //# sourceMappingURL=settings-tab.js.map