aq-fe-framework 0.1.263 → 0.1.264
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,14 +55,14 @@ interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
|
|
55
55
|
}
|
56
56
|
declare function MyActionIconModal({ fullScreen, crudType, disclosure, modalSize, title, children, icon, ...rest }: IMyActionIconModal): react_jsx_runtime.JSX.Element | undefined;
|
57
57
|
|
58
|
-
interface IActionIconDelete<
|
58
|
+
interface IActionIconDelete<IRes> extends Omit<ComponentProps<typeof MyActionIconModal>, "disclosure" | "onSubmit"> {
|
59
59
|
onSubmit: () => Promise<AxiosResponse<MyApiResponse<IRes>>>;
|
60
60
|
onSuccess?: () => void;
|
61
61
|
onError?: () => void;
|
62
62
|
contextData?: string;
|
63
63
|
loading?: boolean;
|
64
64
|
}
|
65
|
-
declare function MyActionIconDelete<
|
65
|
+
declare function MyActionIconDelete<IRes>({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete<IRes>): react_jsx_runtime.JSX.Element;
|
66
66
|
|
67
67
|
interface IActionIconUpdate<IReq, IRes> extends Omit<ComponentProps<typeof MyActionIconModal>, "form" | "disclosure" | "onSubmit"> {
|
68
68
|
resetFormWhenclose?: boolean;
|