1.0.0 • Published 9 years ago
react-danmu v1.0.0
react-danmu
React Danmu Component
Screenshots
Development
npm install
npm startExample
http://localhost:3020/examples/
online example: http://imyelo.github.io/react-danmu/
install
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-testCoverage
npm run coverageopen coverage/ dir
License
react-danmu is released under the MIT license.
1.0.0
9 years ago
