@layui/layui-vue
Version:
a component library for Vue 3 base on layui-vue
8 lines (7 loc) • 372 B
TypeScript
import type { DatePickerRenderComponentProps } from "../interface";
import dayjs from "dayjs";
export declare function useBaseDatePicker(props: DatePickerRenderComponentProps): {
defaultTimeValue: import("vue").ComputedRef<(dayjs.Dayjs | null)[]>;
getDefaultValue: () => dayjs.Dayjs;
};
export type UseBaseDatePicker = ReturnType<typeof useBaseDatePicker>;