0.1.5 • Published 9 months ago

sweetalert2-solid-content v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

0.1.5

9 months ago