revolunet/react-mailchimp-subscribe

Callback regression

Opened this issue · 2 comments

Looks like onSuccess and onError callbacks were added in 2.0.1, but not available in 2.1.0, is this due to the React version it depends on?

The callback is now a render prop which is executed each time the form status change : null|sending|error|success

Hi there, A little bit confused here, how do we use the onSuccess?