UNPKG

naive-ui

Version:

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

25 lines (24 loc) 823 B
import type { ExtractPublicPropTypes } from '../../_utils'; import type { datePickerProps } from './props'; export type DatePickerSize = 'small' | 'medium' | 'large'; 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; }