From 913fee95772397dbfe2b0c6933e21d34656517eb Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 14 Aug 2020 18:53:34 +0100 Subject: [PATCH] add block icon --- src/index.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 869d6c4..b6fc306 100644 --- a/src/index.js +++ b/src/index.js @@ -15,12 +15,23 @@ import { Toolbar, ToolbarButton, PanelBody, - PanelRow, } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; registerBlockType('room-vw/iconify', { - title: __('Iconify Icon', 'room-vw'), + title: __('Iconify', 'room-vw'), + icon: ( + + + + ), category: 'room-vw',