Reference · Draw a bracket, a table or a road to the final
BroadcastLooktype
The looks of a broadcast board: blue, night and paper.
Import it
import type { BroadcastLook } from "@johnmorrisdotca/taisen-brackets";
Definition
type BroadcastLook = "blue" | "night" | "paper";
Examples
import { resultsBoard, type BroadcastLook } from "@johnmorrisdotca/taisen-brackets";
const look: BroadcastLook = "paper";
console.log(resultsBoard({ title: "Final", rows: [{ name: "A" }] }, { look }).startsWith("<svg"));trueWhat it prints (run when this page was built)