react-bootbox

1.1.1 • Public • Published

React Bootbox

A bootbox tailored for react.js. This package helps to build the bootbox component for react.js using bootstrap & react-bootstrap.

Installation

Install bootstrap with this package. npm i bootstrap react-bootbox --save Include the bootstrap css in the index.js import 'bootstrap/dist/css/bootstrap.css';

Usage

<BootBox 
    message="Do you want to Continue?"
    show={this.state.show} 
    onYesClick = {this.showAlert}
    onNoClick = {this.handleClose}
    onClose = {this.handleClose}/>

Contribute

I welcome any kind of contributions/requests/questions/general feedback. Please Open an Issue Or a pull request.

Readme

Keywords

none

Package Sidebar

Install

npm i react-bootbox

Weekly Downloads

20

Version

1.1.1

License

ISC

Unpacked Size

1.58 MB

Total Files

7

Last publish

Collaborators

  • abhikulshrestha22