Electron Alert (Dialog for custom messages)

I have created a library for creating visually stunning message boxes.

It can be found here: https://medium.com/@rocketlaunchr.cloud/electron-alert-45d0297e346f

It would be great if I can get feedback on how to make it better. It leverages SweetAlert2 behind the scenes. Stars on github would also be greatly appreciated.