CalendarLooktype
The three options a preset sets: a housing, rings and a turn.
Import it
import type { CalendarLook } from "@johnmorrisdotca/koyomi-calendars";
Definition
interface CalendarLook {
housing?: CalendarHousing;
rings?: boolean;
turn?: number;
}
Members
| Name | Type | Description |
|---|---|---|
housing (optional) | "square" | "circle" | undefined | |
rings (optional) | boolean | undefined | |
turn (optional) | number | undefined |
Examples
import { CALENDAR_PRESETS, type CalendarLook } from "@johnmorrisdotca/koyomi-calendars";
const look: CalendarLook = CALENDAR_PRESETS.disc;
console.log(look);{ housing: 'circle' }What it prints (run when this page was built)