@wordpress/block-library
Version:
Block library for the WordPress editor.
25 lines (24 loc) • 610 B
JavaScript
import { postComments } from "@wordpress/icons";
import initBlock from "../utils/init-block.mjs";
import metadata from "./block.json";
import deprecated from "./deprecated.mjs";
import edit from "./edit/index.mjs";
import save from "./save.mjs";
import TEMPLATE from "./edit/template.mjs";
// packages/block-library/src/comments/index.js
const { name } = metadata;
const settings = {
icon: postComments,
example: {},
template: TEMPLATE,
edit,
save,
deprecated
};
const init = () => initBlock({
name,
metadata,
settings
});
export { init, metadata, name, settings };
//# sourceMappingURL=index.mjs.map