@arteneo/forge
Version:
11 lines (10 loc) • 613 B
TypeScript
import React from "react";
import { AxiosResponse } from "axios";
import { ButtonEndpointProps } from "../../components/Common/ButtonEndpoint";
import { BatchResultInterface } from "../../contexts/DialogBatch";
interface DialogBatchButtonEndpointProps extends ButtonEndpointProps {
processResponse?: (response: AxiosResponse) => BatchResultInterface[];
}
declare const DialogBatchButtonEndpoint: ({ processResponse, label, color, variant, endIcon, endpoint, ...props }: DialogBatchButtonEndpointProps) => React.JSX.Element;
export default DialogBatchButtonEndpoint;
export { DialogBatchButtonEndpointProps };