UNPKG

@wordpress/block-library

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