CalendarHousingtype
One of the housings in CALENDAR_HOUSINGS.
Import it
import type { CalendarHousing } from "@johnmorrisdotca/koyomi-calendars";
Definition
type CalendarHousing = (typeof CALENDAR_HOUSINGS)[number];
Examples
import { calendarIcon, type CalendarHousing } from "@johnmorrisdotca/koyomi-calendars";
const housing: CalendarHousing = "circle";
console.log(calendarIcon({ month: 11, day: 3, housing }).startsWith("<svg"));trueWhat it prints (run when this page was built)