DEV Community

Discussion on: How to toggle Bootstrap navbar collapse button in React without jQuery

Collapse
 
johnotu profile image
John Otu

Bootstrap animations are powered by the JS file which we've not added in our use case. However you can implement CSS transitions and animations in React using React Transitions Group.

Substituting the appropriate class for the version of Bootstrap you are using should give the desired results.