sweetalert2 custom text code example
Example: swal mail
const { value: email } = await Swal.fire({ title: 'Input email address', input: 'email', inputPlaceholder: 'Enter your email address'})if (email) { Swal.fire(`Entered email: ${email}`)}
const { value: email } = await Swal.fire({ title: 'Input email address', input: 'email', inputPlaceholder: 'Enter your email address'})if (email) { Swal.fire(`Entered email: ${email}`)}