Reference · Where every tie sits
Looktype
How a bracket is drawn: classic (the default) or road, with large round marks, big scores and a dotted path.
Import it
import type { Look } from "@johnmorrisdotca/taisen-brackets/layout";
Also exported from: @johnmorrisdotca/taisen-brackets
Definition
type Look = "classic" | "road";
Examples
import { drawBracket, type Look } from "@johnmorrisdotca/taisen-brackets";
const look: Look = "road";
console.log(drawBracket([{ sides: ["Aurora", "Harbour"], score: [2, 1] }, { sides: ["Cascade", "Delta"], score: [0, 1] }, { sides: ["Aurora", "Delta"], score: [3, 1] }], { look }).startsWith("<svg"));trueWhat it prints (run when this page was built)