UNPKG

yanzhen-design-vue

Version:

14 lines (13 loc) 487 B
import { h } from 'vue'; import { ContactsSelectProps } from './contacts-select'; export type ContactsFuncProps = ContactsSelectProps & { content: Parameters<typeof h>[0]; type?: string; }; export type ContactsFunc = (props: ContactsFuncProps) => { destroy: () => void; update: (newConfig: ContactsFuncProps) => void; }; export declare const confirm: ContactsFunc; export default confirm; export declare function withConfirm(props: ContactsFuncProps): ContactsFuncProps;