leandrowd / react-responsive-carousel

React.js Responsive Carousel (with Swipe)
http://leandrowd.github.io/react-responsive-carousel/
MIT License
2.67k stars 629 forks source link

Fix module name in doco #16

Closed kaploink closed 9 years ago

kaploink commented 9 years ago

Think doco should say

var Carousel = require('react-responsive-carousel');

not

var Carousel = require('./components/Carousel');

Hopefully hasn't stopped too many people from using an otherwise great control. Am picking it over Nuka for greater reliability on IE9.

Perhaps this just applies when using webpack, which by default looks in node_modules for anything without a path.

leandrowd commented 9 years ago

Hey dude, thanks for opening the issue. Next time I do any change I will fix it.