UNPKG

@teamix/pro-action

Version:

action组件

8 lines (7 loc) 358 B
/// <reference types="react" /> import { DialogFormAction } from './dialog-form'; export declare type DrawerFormAction = DialogFormAction; export declare function useDrawerFormAction(action: DrawerFormAction, context?: any): { [x: string]: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => Promise<void>; }; export default useDrawerFormAction;