Structural page component for the shopping cart. This is the main component used in the /cart route in Venia. It uses child components to render the different pieces of the cart page.
Returns: See: https://venia.magento.com/cart
Parameters
Name
Type
Description
props
Objectprops.classes
ObjectCSS className overrides for the component. See cartPage.module.css for a list of classes you can override.
Example (Importing into your project)
import CartPage from "@magento/venia-ui/lib/components/CartPage";
Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/cartPage.js