@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
28 lines (27 loc) • 1.23 kB
TypeScript
import { type VariantProps } from 'class-variance-authority';
import { DateRangeSelectValue } from '../../types/dateRange';
declare const button: (props?: ({
size?: "sm" | "default" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type ButtonProps = VariantProps<typeof button>;
export type DateRangeSelectMode = 'span' | 'range' | 'around' | null;
type __VLS_Props = {
placeholder?: string;
maxSpanInSeconds?: number;
clearable?: boolean;
disabled?: boolean;
min?: Date;
minReason?: string;
max?: Date;
maxReason?: string;
size?: ButtonProps['size'];
};
type __VLS_PublicProps = __VLS_Props & {
'modelValue': DateRangeSelectValue;
};
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (value: DateRangeSelectValue) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: DateRangeSelectValue) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;