2019-12-05 21:08:48 +00:00
|
|
|
/**
|
2019-12-12 19:46:56 +00:00
|
|
|
* Internal dependencies
|
2019-12-05 21:08:48 +00:00
|
|
|
*/
|
2019-12-12 19:46:56 +00:00
|
|
|
import CheckoutButton from './checkout-button';
|
|
|
|
import './style.scss';
|
2019-12-05 21:08:48 +00:00
|
|
|
|
|
|
|
/**
|
2019-12-12 19:46:56 +00:00
|
|
|
* Component that renders the Cart block when user has something in cart aka "full".
|
2019-12-05 21:08:48 +00:00
|
|
|
*/
|
|
|
|
const Cart = () => {
|
|
|
|
return (
|
2019-12-12 19:46:56 +00:00
|
|
|
<div className="wc-block-cart">
|
|
|
|
<div className="wc-block-cart__main">
|
|
|
|
<span>
|
|
|
|
Cart block <b>full state</b> coming soon…
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div className="wc-block-cart__sidebar">
|
|
|
|
<CheckoutButton />
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-05 21:08:48 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
Cart.propTypes = {};
|
|
|
|
|
|
|
|
export default Cart;
|