Version: 3.5.2
NewsletterUpdateContainer
Handles updating the list of newsletters the user is subscribed to.
#
Usage#
ReferenceNewsletterUpdateContainer
#
#
PropsonSuccess
#
(userObject) โ void
Callback function called when the newsletters subscriptions are updated succesfully.
onFailure
#
(errorObject) โ void
Callback function called when updating the newsletters subscriptions fails.
#
Children componentsAlert
#
Displays the relevant errors or success messages.
NewsletterUpdateList
Required#
A selectable list of all available newsletters.
NewsletterUpdateButton
Required#
Instance of Button
A button component that submits the selected newsletters.
#
Propsname
#
string?
The title displayed inside the button