import { t } from '@lingui/macro'; import { Button, Input, Table, Tag, DatePicker, Form, Modal, Select, Space, Checkbox } from 'antd'; import { useState } from 'react'; import { Layout } from 'antd'; import { EditOutlined, DownloadOutlined, CheckCircleOutlined, ClockCircleOutlined, ArrowLeftOutlined, ArrowRightOutlined, FullscreenOutlined, FullscreenExitOutlined, } from '@ant-design/icons'; import FileViewer from '@cyntler/react-doc-viewer'; import styled from 'styled-components'; const { Sider, Content } = Layout; const siderStyle: React.CSSProperties = { backgroundColor: '#fafafa', padding: 10, width: 200, }; const StyledTable = styled(Table)` & .sbt-table-cell { padding: 4px!important; } `; const StyledEditOutlined = styled(EditOutlined)` & { color: #6666ff; margin-left: 8px; } &:hover { color: #0000ff; } `; const fileList = [ { name: "invoice.pdf", url: "/dummpy.pdf", type: "invoice", isBadQuality: false, }, { name: "invoice.pdf", url: "/dummpy.pdf", type: "imei", isBadQuality: true, } ] const dataSource = [ { key: 'retailer_name', value: 'Mike', }, { key: '2', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, { key: '3', value: 'Mike', }, ]; const columns = [ { title: 'Key', dataIndex: 'key', key: 'key', }, { title: 'Accuracy', dataIndex: 'acc', key: 'acc', render: (text, record) => { return