0.1.1 • Published 5 years ago

bs-react-slick v0.1.1

Weekly downloads
47
License
MIT
Repository
-
Last release
5 years ago

bs-react-slick

This is Bucklescript bindings for react-slick.

Install

yarn add bs-react-slick

Setup

Add reason-transition-group to bs-depenencies in your bsconfig.json!

{
  /* ... */
  "bs-dependencies": [
    "bs-react-slick"
  ],
  /* ... */
}

Add cdn to html

<link rel="stylesheet" type="text/css" charset="UTF-8" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css" />