UNPKG

fluent-svelte-updated

Version:

Forked from https://github.com/vegardlarsen/fluent-svelte. A faithful implementation of Microsoft's Fluent Design System in Svelte.

42 lines (41 loc) 1.46 kB
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } /** * A calendar view lets a user view and interact with a calendar that they can navigate by month, year, or decade. A user can select a single date or multiple dates. [Docs](https://fluent-svelte.vercel.app/docs/components/calendarview) * - Usage: * ```tsx * <CalendarView value={new Date(2022, 2, 14)} /> * ``` */ declare const CalendarView: $$__sveltets_2_IsomorphicComponent<{ [x: string]: any; locale?: string; multiple?: boolean; headers?: boolean; value?: Date | Date[] | null; blackout?: Date[]; min?: Date; max?: Date; view?: "days" | "months" | "years"; weekStart?: number; __floating?: boolean; class?: string; element?: HTMLDivElement; }, { change: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type CalendarView = InstanceType<typeof CalendarView>; export default CalendarView;