sweetalert2 / sweetalert2-react-content

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

What set of JSX does this support? #200

Closed GreenAsJade closed 2 years ago

GreenAsJade commented 2 years ago

I tried to do

Swal.fire({
    text: "test",
    footer: <Link to={"/"}>Test link</Link>

and the footer is rendered empty.

Link comes from react-router-dom.

limonte commented 2 years ago

Duplicate of #194