1 | import { createElement } from "@wordpress/element";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { G, Path, SVG } from '@wordpress/components';
|
7 | import { __ } from '@wordpress/i18n';
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | import edit from './edit';
|
13 | export var name = 'core/latest-comments';
|
14 | export var settings = {
|
15 | title: __('Latest Comments'),
|
16 | description: __('Display a list of your most recent comments.'),
|
17 | icon: createElement(SVG, {
|
18 | viewBox: "0 0 24 24",
|
19 | xmlns: "http://www.w3.org/2000/svg"
|
20 | }, createElement(Path, {
|
21 | fill: "none",
|
22 | d: "M0 0h24v24H0V0z"
|
23 | }), createElement(G, null, createElement(Path, {
|
24 | 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"
|
25 | }))),
|
26 | category: 'widgets',
|
27 | keywords: [__('recent comments')],
|
28 | supports: {
|
29 | align: true,
|
30 | html: false
|
31 | },
|
32 | edit: edit,
|
33 | save: function save() {
|
34 | return null;
|
35 | }
|
36 | };
|
37 |
|
\ | No newline at end of file |