naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
8 lines (7 loc) • 347 B
TypeScript
import type { VNodeChild } from 'vue';
export type OnUpdateValue = (value: string & null) => void;
export type OnConfirm = OnUpdateValue;
export type OnClear = () => void;
export type OnUpdateValueImpl = (value: string | null) => void;
export type OnConfirmImpl = OnUpdateValueImpl;
export type RenderLabel = (value: string | null) => VNodeChild;