akiran / akiran/react-slick

I'm using the CDN and its exporting a React Element instead of a React Component making it unusable. Can you fix this please?

オープン
#1,709 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm using this link

-

This is the error I get when trying to use it
![image](https://user-images.githubusercontent.com/36201566/72180060-8e66a980-33a3-11ea-82fc-12e77552adb7.png)

I'm trying to use it outside of a class in a functional component.
![image](https://user-images.githubusercontent.com/36201566/72180175-d7b6f900-33a3-11ea-8eab-36fc6f4fe2d8.png)

It would be optimal if an object of methods could be exported from the CDN so in my code I could require the Slider Component like so.
![image](https://user-images.githubusercontent.com/36201566/72180424-6461b700-33a4-11ea-85a8-6ed7055bfb29.png)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。