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.
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.
- roundrequisIBracketRound
- The round payload to render.
- indexrequisnumber
- Index of the round inside its bracket — drives the vertical offset.
- totalRoundsrequisnumber
- Total number of rounds — used to flag the last round as final.
- showRoundTitleboolean
- Toggle the round title heading.
- showScoresboolean
- Forward to children — toggles score column.
- showSeedboolean
- Forward to children — toggles seed prefix.
- interactiveboolean
- Forward to children — toggles match-card interactivity.
- colorTIntent
- 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