Reference · SVG boards and materials
Materialtype
Built-in board and peg palettes.
Import it
import type { Material } from "@johnmorrisdotca/tobiishi/draw";
Definition
type Material = "stone" | "wood" | "glass";
Examples
import type { Material } from "@johnmorrisdotca/tobiishi/draw";
const value: Material = "wood";
console.log(value);woodWhat it prints (run when this page was built)