djorg83 / react-bootstrap-sweetalert

A React implementation of SweetAlert

Home Page:https://djorg83.github.io/react-bootstrap-sweetalert/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for 'secondary' type for button

sakul-budhathoki opened this issue · comments

I got warning when used cancelBtnBsStyle="secondary"

Warning Reference:
warning

But It works pretty fine, Reference:
secondarybutton

thanks. i will fix this.

Maybe change confirmBtnBsStyle, cancelBtnBsStyle to string so any class can be used?
Ok there is cancelBtnCssClass. Still add secondary to the PropTypes.oneOf

the upcoming 5.0 release will allow any string as the button BS style