0.0.1 • Published 4 years ago
twitch-hover-react v0.0.1
Twitch Hover React
- React wrapper that provides hover effect from twitch.tv
- set color of choice
Usage
yarn add twitch-hover-react
import React from 'react'
import TwitchHover from 'twitch-hover-react'
import 'twitch-hover-react/build/TwitchHover.css'
const Card = () => {
return (
<TwitchHover color="#8ed93f">
<div
style={{
width: 200,
height: 300,
}}
></div>
</TwitchHover>
)
}
export default Card
0.0.1
4 years ago