Reference · Rockets, variants, parts and the fit check
BuildWordstype
The words the build bar says, each of which a page can replace. {day}, {done}, {total} and {rate} are filled in.
Import it
import type { BuildWords } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface BuildWords {
play: string;
pause: string;
start: string;
repeat: string;
range: string;
day: string;
done: string;
rate: string;
flight: string;
}
Members
| Name | Type | Description |
|---|---|---|
play | string | |
pause | string | |
start | string | |
repeat | string | |
range | string | |
day | string | |
done | string | |
rate | string | |
flight | string |
|
Examples
import type { BuildWords } from "@johnmorrisdotca/uchusen-rockets";
const words: Partial<BuildWords> = { play: "Start" };
console.log(words.play);StartWhat it prints (run when this page was built)