Tried < MailchimpSubscribe url={url} EMAIL={this.state.email} /> to retrieve a default value and then executed a function to automatically press the "submit" button. I failed.
Are there any props of < MailchimpSubscribe /> that I can pass in email data?
Automatically execute "Submit" button: autoSubmit = () => { < MailchimpSubscribe url={url} /> }
Is that the correct way to do it?
Tried < MailchimpSubscribe url={url} EMAIL={this.state.email} /> to retrieve a default value and then executed a function to automatically press the "submit" button. I failed.
Are there any props of < MailchimpSubscribe /> that I can pass in email data?
Automatically execute "Submit" button: autoSubmit = () => { < MailchimpSubscribe url={url} /> } Is that the correct way to do it?