UNPKG

@wordpress/block-library

Version:
12 lines (11 loc) • 356 B
import { createBlock } from "@wordpress/blocks"; // packages/block-library/src/spacer/transforms.js const transforms = { to: [{ type: "block", blocks: ["core/separator"], transform: ({ anchor }) => { return createBlock("core/separator", { anchor: anchor || void 0 }); } }] }; export { transforms as default }; //# sourceMappingURL=transforms.mjs.map