@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
43 lines (42 loc) • 1.4 kB
TypeScript
import { DateValue } from '@zag-js/date-picker';
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { PolymorphicProps } from '../factory.js';
export interface DatePickerValueTextRenderProps {
value: DateValue;
index: number;
valueAsString: string;
remove: () => void;
}
export interface DatePickerValueTextBaseProps extends PolymorphicProps {
/**
* Text to display when no date is selected.
*/
placeholder?: string | undefined;
/**
* The separator to use between multiple date values when using default rendering.
* @default ", "
*/
separator?: string | undefined;
}
export interface DatePickerValueTextProps extends DatePickerValueTextBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<DatePickerValueTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DatePickerValueTextProps> & Readonly<{}>, {
separator: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {
value: DateValue;
index: number;
valueAsString: string;
remove: () => void;
}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};