React-slick: Styles don't apply

Created on 15 Sep 2015  路  1Comment  路  Source: akiran/react-slick

I'm trying to recreate the sample from documentation with Coffee:

React = require('react')
Slider = require('react-slick')
D = React.DOM

SimpleSlider = React.createClass({
  render: () ->
    settings = {
      dots: true,
      infinite: true,
      speed: 500,
      slidesToShow: 1,
      slidesToScroll: 1
    }
    return D.div({},
      React.createElement(
        Slider, settings, [
          D.div(
            D.h3("1")
          )
          D.div(
            D.h3("2")
          )
        ]
      )
    )
})

React.render(
    React.createElement(SimpleSlider),
    document.body
)

but for some reasons I see ugly UI(see screenshot). What did I miss?
scrn

>All comments

@kharandziuk This probably

<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.3.15/slick.css" />
Was this page helpful?
0 / 5 - 0 ratings

Related issues

PolGuixe picture PolGuixe  路  3Comments

laveesingh picture laveesingh  路  3Comments

Exomnius picture Exomnius  路  3Comments

slashwhatever picture slashwhatever  路  3Comments

nicreichert picture nicreichert  路  3Comments