import { Drawer } from 'antd';
import Link from 'antd/lib/typography/Link';
import { useState } from 'react';
import { useIntl } from 'umi';
import Multiple from './Multiple';
import Single from './Single';
export interface ApplyPreviewProps {
name: string;
batchAuditId?: string;
chainId?: string;
}
const ApplyPreview = (props: ApplyPreviewProps) => {
const { name, batchAuditId, chainId } = props;
const [open, setOpen] = useState(false);
const { formatMessage } = useIntl();
return (
<>
setOpen(false)}
>
{batchAuditId ? : }
setOpen(true)}>
{formatMessage({ id: 'pages.application.detailTable.title.default' })}
>
);
};
export default ApplyPreview;