CalendarPresettype
One of the names in CALENDAR_PRESETS.
Import it
import type { CalendarPreset } from "@johnmorrisdotca/koyomi-calendars";
Definition
type CalendarPreset = keyof typeof CALENDAR_PRESETS;
Examples
import { calendarIcon, type CalendarPreset } from "@johnmorrisdotca/koyomi-calendars";
const preset: CalendarPreset = "disc-ringed";
console.log(calendarIcon({ month: 11, day: 3, preset }).startsWith("<svg"));trueWhat it prints (run when this page was built)