IBracketRoundProps

interface
Component Props

Props for <OrigamBracketRound> — a single round column/row. Exported so consumers can render a round standalone inside a custom layout.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

round
required
IBracketRound
The round payload to render.
index
required
number
Index of the round inside its bracket — drives the vertical offset.
totalRounds
required
number
Total number of rounds — used to flag the last round as final.
showRoundTitle
boolean
Toggle the round title heading.
showScores
boolean
Forward to children — toggles score column.
showSeed
boolean
Forward to children — toggles seed prefix.
interactive
boolean
Forward to children — toggles match-card interactivity.
color
TIntent
Forward intent color.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Standalone round

html