UNPKG

@wordpress/block-library

Version:
36 lines (35 loc) 858 B
// packages/block-library/src/form-submission-notification/index.js import { group as icon } from "@wordpress/icons"; import { __ } from "@wordpress/i18n"; import initBlock from "../utils/init-block.mjs"; import edit from "./edit.mjs"; import metadata from "./block.json"; import save from "./save.mjs"; import variations from "./variations.mjs"; var { name } = metadata; var TEMPLATE = [ [ "core/paragraph", { content: __( "Enter the message you wish displayed for form submission error/success, and select the type of the message (success/error) from the block's options." ) } ] ]; var settings = { icon, template: TEMPLATE, edit, save, variations, example: {} }; var init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.mjs.map