Skip to content

Commit

Permalink
Add context to the block icon in list view'
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed May 3, 2023
1 parent 02e32c8 commit 899b587
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ function ListViewBlockSelectButton(
aria-expanded={ isExpanded }
>
<ListViewExpander onClick={ onToggleExpanded } />
<BlockIcon icon={ blockInformation?.icon } showColors />
<BlockIcon
icon={ blockInformation?.icon }
showColors
context="list-view"
/>
<HStack
alignment="center"
className="block-editor-list-view-block-select-button__label-wrapper"
Expand Down

0 comments on commit 899b587

Please sign in to comment.