Reference · Tile and table elements
ELEMENT_SIZESconstant
The sizes every element takes, as a tile's width in pixels.
Import it
import { ELEMENT_SIZES } from "@johnmorrisdotca/jarajara/element";
Definition
const ELEMENT_SIZES: { readonly small: 32; readonly medium: 48; readonly large: 72; } = { small: 32, medium: 48, large: 72 } as const
Members
| Name | Type | Description |
|---|---|---|
small | 32 | |
medium | 48 | |
large | 72 |
Examples
import { ELEMENT_SIZES } from "@johnmorrisdotca/jarajara/element";
console.log(ELEMENT_SIZES);{ small: 32, medium: 48, large: 72 }What it prints (run when this page was built)