@wordpress/block-library
Version:
Block library for the WordPress editor.
27 lines (26 loc) • 652 B
JavaScript
import { __ } from "@wordpress/i18n";
import { next } from "@wordpress/icons";
import initBlock from "../utils/init-block.mjs";
import metadata from "./block.json";
import edit from "./edit.mjs";
import variations from "./variations.mjs";
import deprecated from "./deprecated.mjs";
// packages/block-library/src/post-navigation-link/index.js
const { name } = metadata;
const settings = {
icon: next,
edit,
variations,
deprecated,
example: { attributes: {
label: __("Next post"),
arrow: "arrow"
} }
};
const init = () => initBlock({
name,
metadata,
settings
});
export { init, metadata, name, settings };
//# sourceMappingURL=index.mjs.map