Version: 1.0.0
AddressSelectContainer
Handles selecting one of the user's addresses.
#
Usage#
ReferenceAddressSelectContainer
#
#
PropsonSuccess
#
(selectedAdressId) โ void
Callback function called when the address is selected succesfully.
onGiftRedemptionSuccess
#
(userObject) โ void
Callback function called when the user is redeeming a gift, and the gift is redeemed succesfully.
onFailure
#
(errorObject) โ void
Callback function called when the gift redemption fails.
#
Children componentsAlert
#
Displays the relevant errors or success messages.
AddressSelectList
Required#
A selectable list of all the user's addresses.
AddressSelectSubmit
Required#
Instance of Button
A button component that submits the selected address.
#
Propsname
#
string?
The title displayed inside the button