sweetalert2-solid-content
v0.1.5
Published
wrap sweetalert2 with solid-js, and can use jsx/tsx with sweetalert2
Readme
Usage
withSolidContent(Swal).fire({
icon: "success",
title: "创建成功",
});option usage is same as SweetAlert2, override some properites to use jsx/tsx.
| name | | ----------------- | | title | | html | | confirmButtonText | | denyButtonText | | cancelButtonText | | footer | | closeButtonHtml | | iconHtml | | loaderHtml |
Thanks
Thanks to Project sweetalert2/sweetalert2-react-content for the inspiration
