Shopping Cart page components
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 | Object | |
props.classes | Object | CSS className overrides for the component. See cartPage.module.css for a list of classes you can override. |
Example (Importing into your project)
Copied to your clipboardimport CartPage from "@magento/venia-ui/lib/components/CartPage";
Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/cartPage.js