From a3b0418bdc2e4ca83142433d658179bc7302324d Mon Sep 17 00:00:00 2001 From: inc2734 Date: Fri, 23 Feb 2024 15:22:47 +0900 Subject: [PATCH] Replace isSmall prop WordPress/gutenberg#53560 --- .../src/components/inserter/mobile-tab-navigation.js | 2 +- packages/edit-site/src/components/global-styles/header.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/inserter/mobile-tab-navigation.js b/packages/block-editor/src/components/inserter/mobile-tab-navigation.js index b3c4edd28ac93..0efc739fac657 100644 --- a/packages/block-editor/src/components/inserter/mobile-tab-navigation.js +++ b/packages/block-editor/src/components/inserter/mobile-tab-navigation.js @@ -31,7 +31,7 @@ function ScreenHeader( { title } ) { { minWidth: 24, padding: 0 } } icon={ isRTL() ? chevronRight : chevronLeft } - isSmall + size="small" aria-label={ __( 'Navigate to the previous view' ) } /> diff --git a/packages/edit-site/src/components/global-styles/header.js b/packages/edit-site/src/components/global-styles/header.js index e6da4115217f5..1f25c2ada4fc3 100644 --- a/packages/edit-site/src/components/global-styles/header.js +++ b/packages/edit-site/src/components/global-styles/header.js @@ -25,7 +25,7 @@ function ScreenHeader( { title, description, onBack } ) { { minWidth: 24, padding: 0 } } icon={ isRTL() ? chevronRight : chevronLeft } - isSmall + size="small" aria-label={ __( 'Navigate to the previous view' ) } onClick={ onBack } />