View as Markdown

API reference: @salmonui/calendars/date-picker

PickerMessagetype

import type { PickerMessage } from '@salmonui/calendars/date-picker';

Also exported from @salmonui/calendars/date-range-picker, @salmonui/calendars/time-picker.

type PickerMessage = string | {
    readonly zero?: string;
    readonly one?: string;
    readonly two?: string;
    readonly few?: string;
    readonly many?: string;
    readonly other: string;
};

A localeText message: a {param} template or plural forms (the Data Grid LocaleMessage shape).