Version: 2.0.0
GiftCreateModal
The gift create modal is used when the user wants to start the subscription gifting flow. once the user submits the gift recipient's information successfully in this modal, the information is stored in usePelcro's giftRecipient field.
Loading...
#
Usage#
Reference#
PropsonDisplay
#
() โ void
Callback function called when the modal is first displayed.
onClose
#
() โ void
Callback function called when the modal is closed.
onSuccess
#
(giftRecipient) โ void
Callback function called when the gift recipient's information is submitted succesfully.
onFailure
#
() โ void
Callback function called when submitting the gift recipient's information fails.