import { jsx } from "react/jsx-runtime";
import { __ } from "@wordpress/i18n";
import { useDispatch } from "@wordpress/data";
import { MenuItem } from "@wordpress/components";
import { store as preferencesStore } from "@wordpress/preferences";
function WelcomeGuideMenuItem() {
  const { toggle } = useDispatch(preferencesStore);
  return /* @__PURE__ */ jsx(MenuItem, { onClick: () => toggle("core/edit-site", "welcomeGuide"), children: __("Welcome Guide") });
}
export {
  WelcomeGuideMenuItem as default
};
//# sourceMappingURL=welcome-guide-menu-item.js.map
