Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
base
/
components
/
cart-checkout
/
return-to-cart-button
:
index.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { CART_URL } from '@woocommerce/block-settings'; import { Icon, arrowBack } from '@woocommerce/icons'; /** * Internal dependencies */ import './style.scss'; const ReturnToCartButton = ( { link } ) => { return ( <a href={ link || CART_URL } className="wc-block-components-checkout-return-to-cart-button" > <Icon srcElement={ arrowBack } /> { __( 'Return to Cart', 'woocommerce' ) } </a> ); }; export default ReturnToCartButton;