Guest User

Untitled

a guest
May 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import Swal from 'sweetalert2'
  2. import withReactContent from 'sweetalert2-react-content'
  3. import Signin from '@/components/Login/Signin'
  4.  
  5. const RCSwal = withReactContent(Swal)
  6.  
  7. RCSwal.fire({
  8. title: <div>Login</div>,
  9. html: <Signin />,
  10. onOpen: () => {
  11.  
  12. RCSwal.clickConfirm()
  13. }
  14. }).then(() => {
  15. alert('Feito')
  16. })
Add Comment
Please, Sign In to add comment