mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
♻️ Use real icon instead of data().getImage()
This commit is contained in:
parent
aef5119ecd
commit
2b87837345
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
import { Button } from '@wordpress/components';
|
||||
import { Button, Icon } from '@wordpress/components';
|
||||
import { chevronLeft } from '@wordpress/icons';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
|
||||
import { OnboardingHooks } from '../../../../data';
|
||||
import data from '../../../../utils/data';
|
||||
|
||||
const Navigation = ( {
|
||||
setStep,
|
||||
|
@ -46,7 +46,7 @@ const Navigation = ( {
|
|||
<div className="ppcp-r-navigation-container">
|
||||
<div className="ppcp-r-navigation">
|
||||
<div className="ppcp-r-navigation--left">
|
||||
<span>{ data().getImage( 'icon-arrow-left.svg' ) }</span>
|
||||
<Icon icon={ chevronLeft } />
|
||||
{ ! isFistStep() ? (
|
||||
<Button
|
||||
variant="tertiary"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue