Add chevron after See more to the list header (#51199)

* Add chevron after See more to the list header

* Changelog

* Correct changelog path

* Alphabetically ordered imports :)
This commit is contained in:
Boro Sitnikovski 2024-09-10 18:28:31 +02:00 committed by GitHub
parent 70716d1a6a
commit da7cf716d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -1,9 +1,10 @@
/**
* External dependencies
*/
import { Link } from '@woocommerce/components';
import { __ } from '@wordpress/i18n';
import clsx from 'clsx';
import { Icon, chevronLeft, chevronRight } from '@wordpress/icons';
import { Link } from '@woocommerce/components';
import { isRTL, __ } from '@wordpress/i18n';
import { recordEvent } from '@woocommerce/tracks';
/**
@ -44,6 +45,7 @@ export default function ProductListHeader(
} }
>
{ __( 'See more', 'woocommerce' ) }
<Icon icon={ isRTL() ? chevronLeft : chevronRight } />
</Link>
</span>
) }

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Comment: Add chevron to `See more` on the product listing component