Reference · Draw a bracket, a table or a road to the final
JudoBoardSizeNametype
The sizes of a judo board: tv, tablet and tablet-tall.
Import it
import type { JudoBoardSizeName } from "@johnmorrisdotca/taisen-brackets";
Definition
type JudoBoardSizeName = "tv" | "tablet" | "tablet-tall";
Examples
import { JUDO_BOARD_SIZES, type JudoBoardSizeName } from "@johnmorrisdotca/taisen-brackets";
const size: JudoBoardSizeName = "tablet";
console.log(JUDO_BOARD_SIZES[size]);{ width: 1280, height: 800 }What it prints (run when this page was built)