jepser/react-cui

Feature request: Enable Cui component to accept onSuccessfulSubmit callback

chaboo opened this issue · 2 comments

First, thanks for this convenient component. It is quite useful.

For us it would be helpful if we could somehow be notified when conversation completes and form is successfully submitted so we can hide it/close it and allow user to continue down our normal usage flow.

If this is already possible using some alternative way, please let me know.

Hi @chaboo! Sorry for my late answer, we have an events API: https://github.com/jepser/react-cui#events-api

It will do the job ;)

Thank you