Addepar / ember-widgets

https://opensource.addepar.com/ember-widgets/#/ember-widgets/overview
Other
288 stars 75 forks source link

Add a `isConfirmPrimaryBtn` flag to modal-component #321

Closed addeharsha closed 4 years ago

addeharsha commented 4 years ago

Add a isConfirmPrimaryBtn flag to modal-component which determines if the confirm button should be treated as a primary button or not.

By default, value is true and the css class of btn-primary gets applied to the confirm button.

When set to false, css class of btn-default gets applied instead.