UNPKG

@wordpress/block-library

Version:
45 lines (44 loc) • 923 B
import { share } 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"; // packages/block-library/src/social-links/index.js const { name } = metadata; const settings = { example: { innerBlocks: [ { name: "core/social-link", attributes: { service: "wordpress", url: "https://wordpress.org" } }, { name: "core/social-link", attributes: { service: "facebook", url: "https://www.facebook.com/WordPress/" } }, { name: "core/social-link", attributes: { service: "twitter", url: "https://twitter.com/WordPress" } } ] }, icon: share, edit, save, deprecated }; const init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.mjs.map