Edit in GitHubLog an issue

GiftCards

GiftCards is a child component of the CartPage component. This component shows a form for applying gift cards along with a list of applied Gift Cards in the shopping cart.

Returns: Parameters

NameTypeDescription
props
Object
Component props
props.setIsCartUpdating
function
Callback function to call when adding or removing a gift card
props.classes
Object
CSS className overrides. See giftCards.module.css for a list of classes you can override.

Example (Importing into your project)

Copied to your clipboard
import GiftCards from '@magento/venia-ui/lib/components/CartPage/GiftCards';

Source Code: pwa-studio/packages/venia-ui/lib/components/CartPage/GiftCards/giftCards.js

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.