@wordpress/block-library
Version:
Block library for the WordPress editor.
24 lines (23 loc) • 500 B
JavaScript
import { __ } from "@wordpress/i18n";
import { queryPaginationPrevious as icon } from "@wordpress/icons";
import initBlock from "../utils/init-block";
import metadata from "./block.json";
import edit from "./edit";
const { name } = metadata;
const settings = {
icon,
edit,
example: {
attributes: {
label: __("Older Comments")
}
}
};
const init = () => initBlock({ name, metadata, settings });
export {
init,
metadata,
name,
settings
};
//# sourceMappingURL=index.js.map