From 66d88f6bfbcb2b1a4518b1120120bb911d5dc25e Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Thu, 25 May 2023 23:12:35 +0900 Subject: [PATCH 1/2] [RNMobile] Update icon for UngroupButton component --- .../src/components/ungroup-button/icon.js | 26 ------------------- .../components/ungroup-button/index.native.js | 4 +-- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 packages/block-editor/src/components/ungroup-button/icon.js diff --git a/packages/block-editor/src/components/ungroup-button/icon.js b/packages/block-editor/src/components/ungroup-button/icon.js deleted file mode 100644 index d71219e4696662..00000000000000 --- a/packages/block-editor/src/components/ungroup-button/icon.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * WordPress dependencies - */ -import { SVG, Path } from '@wordpress/components'; - -const UngroupSVG = ( - - - - -); - -export default UngroupSVG; diff --git a/packages/block-editor/src/components/ungroup-button/index.native.js b/packages/block-editor/src/components/ungroup-button/index.native.js index 6a09ddd40cf12a..f67e11c9693d4b 100644 --- a/packages/block-editor/src/components/ungroup-button/index.native.js +++ b/packages/block-editor/src/components/ungroup-button/index.native.js @@ -6,11 +6,11 @@ import { ToolbarGroup, ToolbarButton } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { withSelect, withDispatch } from '@wordpress/data'; import { compose } from '@wordpress/compose'; +import { Ungroup } from '@wordpress/icons'; /** * Internal dependencies */ -import UngroupIcon from './icon'; import { store as blockEditorStore } from '../../store'; const noop = () => {}; @@ -24,7 +24,7 @@ export function UngroupButton( { onConvertFromGroup, isUngroupable = false } ) { From ce87ef7ea712e2e2a735ea84639f672dc5c092a0 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Fri, 26 May 2023 18:11:22 +0900 Subject: [PATCH 2/2] Change to lowercase --- .../src/components/ungroup-button/index.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/ungroup-button/index.native.js b/packages/block-editor/src/components/ungroup-button/index.native.js index f67e11c9693d4b..4abfd6a81f9974 100644 --- a/packages/block-editor/src/components/ungroup-button/index.native.js +++ b/packages/block-editor/src/components/ungroup-button/index.native.js @@ -6,7 +6,7 @@ import { ToolbarGroup, ToolbarButton } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { withSelect, withDispatch } from '@wordpress/data'; import { compose } from '@wordpress/compose'; -import { Ungroup } from '@wordpress/icons'; +import { ungroup } from '@wordpress/icons'; /** * Internal dependencies @@ -24,7 +24,7 @@ export function UngroupButton( { onConvertFromGroup, isUngroupable = false } ) {