UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

33 lines (32 loc) 1.04 kB
import { SvelteComponentTyped } from "svelte"; import { type SelectedDate } from '@layerstack/utils'; declare const __propDef: { props: { selected?: SelectedDate; startOfMonth?: Date; /** * Hide controls and date. Useful to control externally */ hideControls?: boolean; /** * Show days before and after selected month */ showOutsideDays?: boolean | undefined; /** * Dates to disable (not selectable) */ disabledDates?: (Date | Date[] | ((date: Date) => boolean) | { from: Date; to: Date; }) | undefined; }; events: { dateChange: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type MonthProps = typeof __propDef.props; export type MonthEvents = typeof __propDef.events; export type MonthSlots = typeof __propDef.slots; export default class Month extends SvelteComponentTyped<MonthProps, MonthEvents, MonthSlots> { } export {};