React ButtonLoader with Bootstrap flavor
npm install react-bootstrap-button-loader




import Button from 'react-bootstrap-button-loader';
`Configurable Props
Note: All props are optional.$3
Bootstrap style, supported values: default, primary, success, info, warning, danger, link.Deprecated in a favor of
variant$3
Set this prop true to disable button.Note: button in loading state is disabled and this behavior is not overridable even if
false value is explicitly provided.$3
This prop controls Button loading state.While loading, Button is disabled and icon provided via props is replaced with Spinner.
$3
Buttons with icons are better!Provided icon is shown if Button is not in a loading state. Otherwise Spinner is rendered.
$3
Controls spinAlignment, supported values: 'left' and 'right'$3
Spinner color for loading state.While white color used by default works fine for most cases, for different bootstrap themes and bsStyles it might be better to use other colors instead.
$3
Bootstrap style, supported values: primary, secondary, success, info, warning, danger, link, light, dark.