From 494530f6dc8a75f0a799dd53c8437e81377f3a9c Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 27 Apr 2022 23:23:00 +0900 Subject: [PATCH] =?UTF-8?q?PR=20=F0=9F=93=8C=20Fix=20header=20styles=20and?= =?UTF-8?q?=20semantics=20(#40592)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/global-styles/header.js | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/packages/edit-site/src/components/global-styles/header.js b/packages/edit-site/src/components/global-styles/header.js index 5653fe8bd50787..8167925098a68d 100644 --- a/packages/edit-site/src/components/global-styles/header.js +++ b/packages/edit-site/src/components/global-styles/header.js @@ -7,30 +7,33 @@ import { __experimentalSpacer as Spacer, __experimentalHeading as Heading, __experimentalView as View, + __experimentalNavigatorBackButton as NavigatorBackButton, } from '@wordpress/components'; import { isRTL, __ } from '@wordpress/i18n'; import { chevronRight, chevronLeft } from '@wordpress/icons'; -/** - * Internal dependencies - */ -import { NavigationBackButtonAsItem } from './navigation-button'; - function ScreenHeader( { title, description } ) { return ( - - - - - - - { title } + + + + + + + { title } + + - + { description && (

{ description }