'use client' import type { FC } from 'react' import React from 'react' import { useCSVDownloader, } from 'react-papaparse' import { useTranslation } from 'react-i18next' import cn from '@/utils/classnames' import { Download02 as DownloadIcon } from '@/app/components/base/icons/src/vender/solid/general' import Button from '@/app/components/base/button' export type IResDownloadProps = { isMobile: boolean values: Record[] } const ResDownload: FC = ({ isMobile, values, }) => { const { t } = useTranslation() const { CSVDownloader, Type } = useCSVDownloader() return ( ) } export default React.memo(ResDownload)