UNPKG

@wordpress/block-library

Version:
27 lines (26 loc) 573 B
// packages/block-library/src/post-author/index.js import { __ } from "@wordpress/i18n"; import { postAuthor as icon } from "@wordpress/icons"; import initBlock from "../utils/init-block"; import metadata from "./block.json"; import edit from "./edit"; var { name } = metadata; var settings = { icon, example: { viewportWidth: 350, attributes: { showBio: true, byline: __("Posted by") } }, edit }; var init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.js.map