react-brackets icon indicating copy to clipboard operation
react-brackets copied to clipboard

Adding two sided bracket

Open Oliver-Looney opened this issue 1 year ago • 1 comments

This pr adds support for two sided brackets with Single Elimination.

Single Elimination now has an optional boolean flag, twoSided, which defaults to false.

If twoSided is true, the rounds are rendered up to the last round, but with only the first half of each round's seeds rendered. Then the last round's seed is rendered. Finally, the rounds are again rendered up to the last round, but this time the second half of each round's seeds are rendered.

web

image

code for example above: example/src/components/two-sided-single-elimination/index.tsx

Oliver-Looney avatar Jul 05 '23 22:07 Oliver-Looney

This is awesome

The-Kian avatar Apr 18 '24 00:04 The-Kian