货无忧
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
489 B

import { InjectionKey, Ref } from 'vue'
import type { DatePicker, DatePickerOptions } from './types'
/**
* useDatePicker 用到的key
*
* @internal
*/
export declare const datePickerDefaultKey: InjectionKey<Ref<boolean>>
export declare const datePickerDefaultOptionKey: InjectionKey<Ref<DatePickerOptions>>
/**
* DatePicker默认参数
* @returns
*/
export declare function getDefaultOptions(): DatePickerOptions
export declare function useDatePicker(selector?: string): DatePicker