"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = WelcomeGuideMenuItem;
var _i18n = require("@wordpress/i18n");
var _data = require("@wordpress/data");
var _components = require("@wordpress/components");
var _preferences = require("@wordpress/preferences");
var _jsxRuntime = require("react/jsx-runtime");
/**
 * WordPress dependencies
 */

function WelcomeGuideMenuItem() {
  const {
    toggle
  } = (0, _data.useDispatch)(_preferences.store);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.MenuItem, {
    onClick: () => toggle('core/edit-site', 'welcomeGuide'),
    children: (0, _i18n.__)('Welcome Guide')
  });
}
//# sourceMappingURL=welcome-guide-menu-item.js.map