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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

round
requis
IBracketRound
The round payload to render.
index
requis
number
Index of the round inside its bracket — drives the vertical offset.
totalRounds
requis
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.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Standalone round

html