@wordpress/block-library
Version:
Block library for the WordPress editor.
37 lines (35 loc) • 990 B
JavaScript
import { createElement } from "@wordpress/element";
/**
* WordPress dependencies
*/
import { G, Path, SVG } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import edit from './edit';
export var name = 'core/latest-comments';
export var settings = {
title: __('Latest Comments'),
description: __('Display a list of your most recent comments.'),
icon: createElement(SVG, {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg"
}, createElement(Path, {
fill: "none",
d: "M0 0h24v24H0V0z"
}), createElement(G, null, createElement(Path, {
d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"
}))),
category: 'widgets',
keywords: [__('recent comments')],
supports: {
align: true,
html: false
},
edit: edit,
save: function save() {
return null;
}
};
//# sourceMappingURL=index.js.map