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.
16 lines
489 B
16 lines
489 B
2 years ago
|
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
|