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
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
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.
- competitorrequiredIBracketCompetitor | null
- The competitor payload. null renders a "TBD" placeholder for undetermined participants.
- scorenumber | string
- Optional score — accepts string for non-numeric markers.
- isWinnerbooleanfalse
- Applies the --winner modifier class (bolder text, intent-tinted background).
- isLoserbooleanfalse
- Marks the losing side — used to lighten the row when the match is completed.
- showScorebooleantrue
- Toggle the score column.
- showSeedbooleanfalse
- Toggle the seed prefix.
- interactivebooleantrue
- Whether the row advertises interactivity (hover state, cursor).
- advantageRoundsnumber
- Head-start in rounds/sets — renders a +N badge next to the name (Grand Final advantage).
- forfeitboolean
- Marks this competitor as having forfeited — name is struck through and a "forfeit" tag is shown.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Standalone competitor row