Zaid-Ajaj / Elmish.SweetAlert

SweetAlert integration for Fable, made with :heart: to work in Elmish apps. https://zaid-ajaj.github.io/Elmish.SweetAlert/
MIT License
30 stars 3 forks source link

Icons do not show #2

Closed isaacabraham closed 4 years ago

isaacabraham commented 4 years ago

No icons are shown e.g.

let alert = SweetAlert.SimpleAlert("Test").Type(SweetAlert.AlertType.Question)

Shows this:

image

Notice that no question icon is shown. How do I get it to show?

Zaid-Ajaj commented 4 years ago

Hello @isaacabraham, looking at the docs of SweetAlert, it seems that version 9.x introduces a breaking change with icon keys. You should install SweetAlert version 8.x (written in README) to make the icons work

Zaid-Ajaj commented 4 years ago

I just published a new version with proper Femto metadata so you can update Elmish.SweetAlert to latest and then run femto --resolve inside your project directory and it will take care of the rest for you