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.
38 lines (37 loc) • 1.38 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import { PeriodType, type DisabledDate } from '@layerstack/utils';
declare const __propDef: {
props: {
[x: string]: any;
name?: string | undefined;
value?: (Date | null) | undefined;
periodType?: PeriodType | undefined;
iconOnly?: boolean | undefined;
stepper?: boolean | undefined;
label?: string | null | undefined;
labelPlacement?: import("..").LabelPlacement | undefined;
error?: string | undefined;
hint?: string | undefined;
disabled?: boolean | undefined;
clearable?: boolean | undefined;
base?: boolean | undefined;
rounded?: boolean | undefined;
dense?: boolean | undefined;
icon?: string | null | undefined;
center?: boolean | undefined;
disabledDates?: DisabledDate | undefined;
};
events: {
change: CustomEvent<any>;
clear: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type DatePickerFieldProps = typeof __propDef.props;
export type DatePickerFieldEvents = typeof __propDef.events;
export type DatePickerFieldSlots = typeof __propDef.slots;
export default class DatePickerField extends SvelteComponentTyped<DatePickerFieldProps, DatePickerFieldEvents, DatePickerFieldSlots> {
}
export {};