UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

24 lines (23 loc) 764 B
import type { ExtractPublicPropTypes } from '../../_utils'; import type { datePickerProps } from './props'; export interface DatePickerInst { focus: () => void; blur: () => void; } export type DatePickerProps = ExtractPublicPropTypes<typeof datePickerProps>; export type DatePickerClearSlotOnClear = () => void; export interface DatePickerClearSlotProps { onClear: DatePickerClearSlotOnClear; text: string; } export type DatePickerNowSlotOnNow = () => void; export interface DatePickerNowSlotProps { onNow: DatePickerNowSlotOnNow; text: string; } export type DatePickerConfirmSlotOnConfirm = () => void; export interface DatePickerConfirmSlotProps { onConfirm: DatePickerConfirmSlotOnConfirm; disabled: boolean; text: string; }