UNPKG

naive-ui

Version:

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

11 lines (10 loc) 353 B
export type OnUpdateValue = ((value: string[]) => void) | ((value: DynamicTagsOption[]) => void); export type OnUpdateValueImpl = (value: Array<string | DynamicTagsOption>) => void; export type OnCreate = (label: string) => { label: string; value: string; } | string; export interface DynamicTagsOption { label: string; value: string; }