1.0.0 • Published 8 years ago

react-danmu v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

react-danmu


React Danmu Component

NPM version build status Test coverage gemnasium deps npm download

Screenshots

Development

npm install
npm start

Example

http://localhost:3020/examples/

online example: http://imyelo.github.io/react-danmu/

install

react-danmu

Usage

var Danmu = require('react-danmu');
var React = require('react');
var messages = [{
  content: '666666'
}]
React.render(<Danmu messages={ messages } />, container);

API

props of

props of

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

react-danmu is released under the MIT license.