@tuoyuan/web-plus
Version:
基于arco-design-vue的配置化表格表单组件
19 lines (18 loc) • 431 B
TypeScript
import { Option } from '../form/type';
type ModalOptions = {
option: Option;
submit?: (value: any, close: () => void) => void;
close?: () => void;
okText?: string;
width?: number;
cancelText?: string;
title?: string;
default?: any;
cancelBtn?: boolean;
};
export declare function useModalForm(options: ModalOptions): {
show: () => void;
close: () => void;
option: any;
};
export {};