import { useState } from "react"; import { useIntl } from "react-intl"; import { Button, message } from "antd"; import { ExportOutlined } from "@ant-design/icons"; import modal from "antd/lib/modal"; import { API_HOST, get } from "../../request"; interface IExportResponse { ok: boolean; message: string; data: { uuid: string; filename: string; type: string; }; } interface IWidget { channelId?: string; studioName?: string; } const TermExportWidget = ({ channelId, studioName }: IWidget) => { const intl = useIntl(); const [loading, setLoading] = useState(false); return ( ); }; export default TermExportWidget;