From f323d9620845068751ad60742fc16e0e8fc1e76b Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Tue, 16 Nov 2021 15:37:44 +0100 Subject: [PATCH] [Global Styles]: Add block icon next to blocks list (#36520) --- .../components/global-styles/screen-block-list.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/screen-block-list.js b/packages/edit-site/src/components/global-styles/screen-block-list.js index 5cc822ff4d619..78267de7d18ab 100644 --- a/packages/edit-site/src/components/global-styles/screen-block-list.js +++ b/packages/edit-site/src/components/global-styles/screen-block-list.js @@ -3,6 +3,11 @@ */ import { getBlockTypes } from '@wordpress/blocks'; import { __ } from '@wordpress/i18n'; +import { + FlexItem, + __experimentalHStack as HStack, +} from '@wordpress/components'; +import { BlockIcon } from '@wordpress/block-editor'; /** * Internal dependencies @@ -29,7 +34,12 @@ function BlockMenuItem( { block } ) { return ( - { block.title } + + + + + { block.title } + ); }