Coupon Form
amerta / amerta/theme/components/CouponForm / CouponForm
Function: CouponForm()
CouponForm(
__namedParameters):Element
Defined in: amerta/theme/components/CouponForm/index.tsx:12
Parameters
| Parameter | Type |
| ------ | ------ |
| __namedParameters | { cart: CartWithCalculations; className?: string; compact?: boolean; currency: Currency; onCartUpdate: (cart) => void; showLabel?: boolean; } |
| __namedParameters.cart | CartWithCalculations |
| __namedParameters.className? | string |
| __namedParameters.compact? | boolean |
| __namedParameters.currency | Currency |
| __namedParameters.onCartUpdate | (cart) => void |
| __namedParameters.showLabel? | boolean |
Returns
Element