Twitch Embed Video wrapper for ReactJS
React Twitch Embed Video
Your solution to embeding the Twitch video player in your ReactJS application.
Installation
| yarn | npm |
|---|---|
yarn add react-twitch-embed-video |
npm install react-twitch-embed-video |
Usage
Visit the github page for lives examples and documentation: https://talk2megooseman.github.io/react-twitch-embed-video/
import ReactTwitchEmbedVideo from "react-twitch-embed-video"
.
.
.
<ReactTwitchEmbedVideo channel="talk2megooseman" />
Development
Usage
-
Install modules
yarn
-
Check package.json so that the information is correct.
-
Start stroybook and start coding!
yarn start
-
Bundle with
yarn build -
To test if it works correctly in another project you can use npm
npm install -S ../react-twitch-embed-videoNote the relative path
Extra
-
If you want to run eslint:
yarn lint
-
If you want to automatically fix lint problems run :
yarn lint-fix
Commands
yarnyarn buildyarn startyarn releaseyarn deploy-storybookyarn lintyarn lint-fix