sweetalert2 / sweetalert2-react-content

Official SweetAlert2 enhancer adding support for React elements as content
MIT License
695 stars 47 forks source link

Add "loaderHtml" for ReactElement #169

Closed baumerdev closed 3 years ago

baumerdev commented 3 years ago

loaderHtml can contain custom HTML code (default is the spinner). I would really appreciate if this value can be filled with React elements too, instead of just a string as by default.

limonte commented 3 years ago

:tada: This issue has been resolved in version 4.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

limonte commented 3 years ago

thanks for the request @baumerdev!

baumerdev commented 3 years ago

Thanks for the fast implementation