8000 GitHub - awfskoo/react-tournament-bracket: React components for rendering a tournament bracket
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

awfskoo/react-tournament-bracket

 
 

Repository files navigation

npm Build Status react-tournament-bracket

image

React components for rendering a tournament bracket

Demo

Go here

Install

yarn add react-tournament-bracket 

Usage

import {Bracket} from 'react-tournament-bracket';
import {render} from 'react-dom';

render(<Bracket game={game}/>, document.getElementById('app'));

Props

TODO

  • Component documentation
  • Better handling of mouse team highlighting (currently, when moving between teams in a particular game, the mouse events fire in inconsistent order and can result in the wrong team left highlighted)
  • Consider simplifying the game model passed to this component
  • Add tests

About

React components for rendering a tournament bracket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.4%
  • HTML 8.6%
0