react-karaoke-lyric
v0.2.0
Published
Display karaoke lyric progress via React
Downloads
22
Maintainers
Readme
react-karaoke-lyric
Display karaoke lyric progress via React
Install
$ npm install react-karaoke-lyric
Usage
var KaraokeLyric = require('react-karaoke-lyric');
<KaraokeLyric text="Hello world" percentage="80" />
API
props
text
Required
Type: string
Text be displayed.
percentage
Required
Type: number
Progress.
wrapperStyle
Type: object
Custom wrapper style.
fontStyle
Type: object
Custom font style.
activeStyle
Type: object
Custom active style.
License
MIT © C.T. Lin