<ButtonBack/>
and <ButtonNext/>
These 2 buttons is used to move the slider 1 step back or next.
Import
import {ButtonNext, ButtonBack} from "react-scroll-snap-anime-slider";
Usage
<ButtonBack className="my-button-class"><</ButtonBack>
<ButtonNext className="my-button-class">></ButtonNext>
Props
Name | Type | Required | Default | Description |
---|---|---|---|---|
props | ButtonHTMLAttributes<HTMLButtonElement> | No | Props to the ButtonBack/Next |
CSS
You can override the default style by using these class names.
Rule Name | Description |
---|---|
.rssas-slider-button | For Slider button |
.rssas-slider-button-next | For Slider button next |
.rssas-slider-button-back | For Slider button back |