value slider react code example
Example: how to use nivo slider in react
import jQuery from 'jquery';
jQuery(document).ready(function(){
jQuery('#slider').nivoSlider({
prevText: '',
nextText: '',
controlNav: false,
pauseOnHover: false,
pauseTime: 6000,
animSpeed: 1500
});
});
<div className="container-fluid vh-100 banner-box">
<div id="slider" className="nivoSlider templatemo_slider">
<img src="img/0.jpg" alt="img"/>
<img src="img/1.jpg" alt="img"/>
<img src="img/2.jpg" alt="img"/>
<img src="img/3.jpg" alt="img"/>
</div>
</div>