UNPKG

@gechiui/block-editor

Version:
30 lines (23 loc) 832 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _components = require("@gechiui/components"); /** * GeChiUI dependencies */ /** * This is a placeholder for the media upload component necessary to make it possible to provide * an integration with the core blocks that handle media files. By default it renders nothing but * it provides a way to have it overridden with the `editor.MediaUpload` filter. * * @return {GCComponent} The component to be rendered. */ const MediaUpload = () => null; /** * @see https://github.com/GeChiUI/gutenberg/blob/HEAD/packages/block-editor/src/components/media-upload/README.md */ var _default = (0, _components.withFilters)('editor.MediaUpload')(MediaUpload); exports.default = _default; //# sourceMappingURL=index.js.map