@wordpress/block-library
Version:
Block library for the WordPress editor.
29 lines (28 loc) • 762 B
JavaScript
import { __ } from "@wordpress/i18n";
import { pullquote } from "@wordpress/icons";
import initBlock from "../utils/init-block.mjs";
import deprecated from "./deprecated.mjs";
import edit from "./edit.mjs";
import metadata from "./block.json";
import save from "./save.mjs";
import transforms from "./transforms.mjs";
// packages/block-library/src/pullquote/index.js
const { name } = metadata;
const settings = {
icon: pullquote,
example: { attributes: {
value: __("One of the hardest things to do in technology is disrupt yourself."),
citation: __("Matt Mullenweg")
} },
transforms,
edit,
save,
deprecated
};
const init = () => initBlock({
name,
metadata,
settings
});
export { init, metadata, name, settings };
//# sourceMappingURL=index.mjs.map