@wordpress/block-library
Version:
Block library for the WordPress editor.
36 lines (25 loc) • 792 B
JavaScript
/**
* WordPress dependencies
*/
import { G, Path, SVG } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import edit from './edit';
export const name = 'core/latest-comments';
export const settings = {
title: __( 'Latest Comments' ),
description: __( 'Display a list of your most recent comments.' ),
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>,
category: 'widgets',
keywords: [ __( 'recent comments' ) ],
supports: {
align: true,
html: false,
},
edit,
save() {
return null;
},
};