Skip to content

Replacement of confirm function with react-bootstrap.

License

Notifications You must be signed in to change notification settings

reactbits/confirm

Repository files navigation

confirm

Replacement of confirm function with react-bootstrap.

Usage

import confirm from 'react-confirm2';

confirm('Are you sure?', () => {
  console.log('yes');
});

Other examples:

Basic restyling

confirm('Are you sure?', {
  confirmLabel: 'Im sure!!!',
    description:(
      <div>
        Please make sure you are sure.
       </div>
    ),
    done: () => console.log('confirmed')
})

About

Replacement of confirm function with react-bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •