moodysalem / react-tournament-bracket

React components for rendering a tournament bracket
https://moodysalem.github.io/react-tournament-bracket/
MIT License
258 stars 81 forks source link

How to adjust bracket styles? #34

Open CintBX opened 4 years ago

CintBX commented 4 years ago

I see the style props are:

styles?: {
    backgroundColor: string;
    hoverBackgroundColor: string;
    scoreBackground: string;
    winningScoreBackground: string;
    teamNameStyle: React.CSSProperties;
    teamScoreStyle: React.CSSProperties;
    gameNameStyle: React.CSSProperties;
    gameTimeStyle: React.CSSProperties;
    teamSeparatorStyle: React.CSSProperties;
  };

How, when rendering the component, can you adjust or override these? (Making the lines white instead of black, or the bracket sizes a bit bigger for example)