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
propsObjectComponent props
props.setIsCartUpdatingfunctionCallback function to call when adding or removing a gift card
props.classesObjectCSS 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 my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.