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.
25 lines (24 loc) • 876 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import { PeriodType, type DisabledDate } from '@layerstack/utils';
import { type DateRange } from '@layerstack/utils/dateRange';
declare const __propDef: {
props: {
selected?: DateRange | null;
class?: string | undefined;
/** Period types to show */ periodTypes?: PeriodType[];
getPeriodTypePresets?: any;
/**
* Dates to disable (not selectable)
*/ disabledDates?: DisabledDate | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type DateRangeProps = typeof __propDef.props;
export type DateRangeEvents = typeof __propDef.events;
export type DateRangeSlots = typeof __propDef.slots;
export default class DateRange extends SvelteComponentTyped<DateRangeProps, DateRangeEvents, DateRangeSlots> {
}
export {};