IBracketCompetitorProps

interface
Component Props

Props for <OrigamBracketCompetitor> — a single competitor row. Carries the full cross-cutting surface (color, bgColor, rounded, elevation, border, density, dimension, padding, margin) so a standalone row behaves like any other origam component.

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.

competitor
requis
IBracketCompetitor | null
The competitor payload. null renders a "TBD" placeholder for undetermined participants.
score
number | string
Optional score — accepts string for non-numeric markers.
isWinner
boolean
false
Applies the --winner modifier class (bolder text, intent-tinted background).
isLoser
boolean
false
Marks the losing side — used to lighten the row when the match is completed.
showScore
boolean
true
Toggle the score column.
showSeed
boolean
false
Toggle the seed prefix.
interactive
boolean
true
Whether the row advertises interactivity (hover state, cursor).
advantageRounds
number
Head-start in rounds/sets — renders a +N badge next to the name (Grand Final advantage).
forfeit
boolean
Marks this competitor as having forfeited — name is struck through and a "forfeit" tag is shown.

É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 competitor row

html