How to use the react-touch-carousel/lib/touchWithMouseHOC function in react-touch-carousel

To help you get started, we’ve selected a few react-touch-carousel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cliqz-oss / browser-core / platforms / web / components / Carousel.jsx View on Github external
render() {
    const data = this.props.data || [];
    const Container = touchWithMouseHOC((...args) => this._CarouselContainer(...args));
    return (
       this.renderCard(...args)}
        loop={false}
      />
    );
  }
}

react-touch-carousel

Micro carousel framework for React.JS

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis

Popular react-touch-carousel functions