@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
39 lines (35 loc) • 1.34 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _i18n = require("@wordpress/i18n");
var _style = _interopRequireDefault(require("./style.scss"));
var _viewSections = require("./view-sections");
var _jsxRuntime = require("react/jsx-runtime");
/**
* External dependencies
*/
/**
* WordPress dependencies
*/
/**
* Internal dependencies
*/
const RemoveBlocks = () => {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_viewSections.HelpDetailImage, {
source: require('./images/options-light.png'),
sourceDarkMode: require('./images/options-dark.png')
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
style: _style.default.helpDetailContainer,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_viewSections.HelpDetailBodyText, {
text: (0, _i18n.__)('To remove a block, select the block and click the three dots in the bottom right of the block to view the settings. From there, choose the option to remove the block.')
})
})]
});
};
var _default = exports.default = RemoveBlocks;
//# sourceMappingURL=remove-blocks.native.js.map