Input sweetalert2. How to render SweetAlert React.