Reference · SVG boards and materials
MATERIALSconstant
Built-in palette names in player-menu order.
Import it
import { MATERIALS } from "@johnmorrisdotca/tobiishi/draw";
Definition
const MATERIALS: readonly Material[] = ["stone", "wood", "glass"]
Examples
import { MATERIALS } from "@johnmorrisdotca/tobiishi/draw";
console.log(MATERIALS);[ 'stone', 'wood', 'glass' ]What it prints (run when this page was built)