Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Swal from 'sweetalert2'
- import withReactContent from 'sweetalert2-react-content'
- import Signin from '@/components/Login/Signin'
- const RCSwal = withReactContent(Swal)
- RCSwal.fire({
- title: <div>Login</div>,
- html: <Signin />,
- onOpen: () => {
- RCSwal.clickConfirm()
- }
- }).then(() => {
- alert('Feito')
- })
Add Comment
Please, Sign In to add comment