No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Customizing Previous & Next arrow

You can customize the previous and next arrow by setting the property as shown below

import React from 'react'; import { Slide } from 'react-slideshow-image'; import 'react-slideshow-image/dist/styles.css'; const buttonStyle = { width: "30px", background: 'none', border: '0px' }; const properties = { prevArrow: <button style={{ ...buttonStyle }}><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#fff"><path d="M242 180.6v-138L0 256l242 213.4V331.2h270V180.6z"/></svg></button>, nextArrow: <button style={{ ...buttonStyle }}><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#fff"><path d="M512 256L270 42.6v138.2H0v150.6h270v138z"/></svg></button> } const Example = () => { return ( <div> <Slide {...properties}> {/* children here */} </Slide> </div> ); }; export default Example;

You can also style the indicator

.indicator { cursor: pointer; padding: 10px; text-align: center; border: 1px #666 solid; margin: 0; } .indicator.active { color: #fff; background: #666; }
Slide 1