@iimm/formily-mui
Version:
form field components based on @mui/material and @formily/react
23 lines (22 loc) • 905 B
TypeScript
import type { ReactNode } from "react";
import { type ButtonProps } from "@mui/material";
import { type ResultProps } from "mui-component";
import { type Form } from "@formily/core";
export interface ResultRenderProps {
handleStepChange?: (direction?: "next" | "previous" | number) => void;
status?: ResultProps["status"];
/**
* 表单的所有字段值汇总,不可手动指定,由StepsForm组件自动生成并传递
*/
values?: object;
form?: Form;
resultTitle?: ReactNode;
onResultReset?: () => void;
resultSubTitle?: ReactNode;
showResultReset?: boolean;
resultActions?: ReactNode;
resultResetText?: ReactNode;
resultResetProps?: Omit<ButtonProps, "onClick">;
resultContent?: ResultProps["content"];
}
export declare const DefaultCompleteRender: import("react").MemoExoticComponent<import("@formily/react").ReactFC<ResultRenderProps>>;