mohux / react-brackets

Reusable and customizable react brackets component, you can use it to build components such as single elimination, or double elimination brackets
105 stars 47 forks source link

Value to Generate the winner or Loser #7

Closed mzcoder-hub closed 3 years ago

mzcoder-hub commented 3 years ago

hi i interest in this repository because now i looking for easy way to generate bracket for esport web apps project, theres a seed in this react-brackets library, but may i know is there a custom seed can added in the seed ?, maybe add the winner or the loser status ?

mohux commented 3 years ago

Hi, thanks a lot for your interest Yes you can customize the seed like you wish to

renderSeedComponent will accept a component and will pass any props you pass through the rounds array to every seed