UNPKG

@wordpress/block-library

Version:
37 lines (36 loc) 923 B
// packages/block-library/src/pullquote/index.js import { __ } from "@wordpress/i18n"; import { pullquote as icon } 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"; var { name } = metadata; var settings = { icon, example: { attributes: { value: ( // translators: Quote serving as example for the Pullquote block. Attributed to Matt Mullenweg. __( "One of the hardest things to do in technology is disrupt yourself." ) ), citation: __("Matt Mullenweg") } }, transforms, edit, save, deprecated }; var init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.mjs.map