@img-arena/dde-ui-react-components
v0.0.2
Published
Set of react components
Downloads
2
Readme
DDE UI React Components Library
List of components
- Boilerplate - is a component sample, not aimed at being used
- GameScores - aims at displaying tennis, basketball or badminton game scores
- GameStatistics - displays a game statistics table
- MatchStatus - aims at displaying any match status
- ScoreBoardBox - is score board box wrapper
- Keystrokes - contains several keystrokes components
- TeamName - cleverly computes team names (e.g. player1/player2)
- Trend - displays a trending value (e.g
2/3 ⬆
) - VideoStream - exposes a video player which needs a valid source
- Stream - exposes a generic module to connect a UI component to a websocket stream
Installation
In your project's root
$ npm install @img-arena/dde-ui-react-components
Usage
const { GameScores } = require('@img-arena/dde-ui-react-components');
...
<GameScores {...props} />
Contributing
Installation
$ npm install
npm run start:dev
This will start a webserver and watch sources changes.
Then open http://localhost:8080/
.
Test
$ npm test
Publishing
See the publishing to npm document for instuctions.