fastlion-amis
Version:
一种MIS页面生成工具
23 lines (22 loc) • 973 B
TypeScript
import React from 'react';
import { RendererEnv } from '../../../env';
import { Api, SchemaNode } from '../../../types';
import { FlowDetail } from '../MobileProcess/type';
import { ImageThumbProps } from '../../Image';
import { DebouncedFunc } from 'lodash';
import './index.scss';
interface FlowModalProps {
visible: boolean;
render: (region: string, node: SchemaNode, props?: any) => JSX.Element;
onClose: (reload: boolean) => void;
env: RendererEnv;
flowDetail?: FlowDetail;
onImageEnlarge?: (info: Pick<ImageThumbProps, 'src' | 'originalSrc' | 'title' | 'caption'> & {
index?: number;
list?: Array<Pick<ImageThumbProps, 'src' | 'originalSrc' | 'title' | 'caption'>>;
}) => void;
handleContainer?: (textValue: string, api: Api) => JSX.Element;
handleRadio?: DebouncedFunc<(api: Api, data: string) => Promise<void>>;
}
declare const ModalFlow: React.FC<FlowModalProps>;
export default ModalFlow;