UNPKG

@wordpress/block-library

Version:
98 lines (97 loc) 1.99 kB
import { __ } from "@wordpress/i18n"; import { blockTable as icon } from "@wordpress/icons"; import initBlock from "../utils/init-block"; import deprecated from "./deprecated"; import edit from "./edit"; import metadata from "./block.json"; import save from "./save"; import transforms from "./transforms"; const { name } = metadata; const settings = { icon, example: { attributes: { head: [ { cells: [ { content: __("Version"), tag: "th" }, { content: __("Jazz Musician"), tag: "th" }, { content: __("Release Date"), tag: "th" } ] } ], body: [ { cells: [ { content: "5.2", tag: "td" }, { content: __("Jaco Pastorius"), tag: "td" }, { content: __("May 7, 2019"), tag: "td" } ] }, { cells: [ { content: "5.1", tag: "td" }, { content: __("Betty Carter"), tag: "td" }, { content: __("February 21, 2019"), tag: "td" } ] }, { cells: [ { content: "5.0", tag: "td" }, { content: __("Bebo Vald\xE9s"), tag: "td" }, { content: __("December 6, 2018"), tag: "td" } ] } ] }, viewportWidth: 450 }, transforms, edit, save, deprecated }; const init = () => initBlock({ name, metadata, settings }); export { init, metadata, name, settings }; //# sourceMappingURL=index.js.map