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