/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Disabled } from '@wordpress/components'; import { Fragment } from '@wordpress/element'; import PropTypes from 'prop-types'; import { withFeedbackPrompt } from '@woocommerce/block-hocs'; import ViewSwitcher from '@woocommerce/block-components/view-switcher'; /** * Internal dependencies */ import FullCart from './full-cart'; import EmptyCart from './empty-cart'; /** * Component to handle edit mode of "Cart Block". */ const CartEditor = ( { className } ) => { return (
( { currentView === 'full' && ( ) } ) } />
); }; CartEditor.propTypes = { className: PropTypes.string, }; export default withFeedbackPrompt( __( 'We are currently working on improving our cart and providing merchants with tools and options to customize their cart to their stores needs.', 'woo-gutenberg-products-block' ) )( CartEditor );