View as Markdown

API reference: @salmonui/calendars/calendar

CalendarGranularitytype

import type { CalendarGranularity } from '@salmonui/calendars/calendar';
type CalendarGranularity = 'day' | 'month' | 'year';

What a calendar selects: days, months (day 1) or years (January 1).