@wordpress/block-library
Version:
Block library for the WordPress editor.
23 lines (22 loc) • 478 B
JavaScript
import { postComments as icon } from "@wordpress/icons";
import initBlock from "../utils/init-block";
import metadata from "./block.json";
import deprecated from "./deprecated";
import edit from "./edit";
import save from "./save";
const { name } = metadata;
const settings = {
icon,
example: {},
edit,
save,
deprecated
};
const init = () => initBlock({ name, metadata, settings });
export {
init,
metadata,
name,
settings
};
//# sourceMappingURL=index.js.map