mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-14 07:01:56 +00:00
19 lines
752 B
TypeScript
19 lines
752 B
TypeScript
import CSVRawDataPreview from './CSVRawDataPreview'
|
|
import StatementDetails from './StatementDetails'
|
|
import { GetStatementDetailsResponse } from '../import_utils'
|
|
|
|
const CSVImport = ({ data, mutate }: { data: { message: GetStatementDetailsResponse }, mutate: () => void }) => {
|
|
|
|
return (
|
|
<div className="w-full flex">
|
|
<div className="w-[50%] p-4 h-[calc(100vh-72px)] overflow-scroll">
|
|
<StatementDetails data={data.message} />
|
|
</div>
|
|
<div className="w-[50%] border-s border-t pe-1 ps-0 border-outline-gray-2 h-[calc(100vh-72px)] overflow-scroll">
|
|
<CSVRawDataPreview data={data.message} mutate={mutate} />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default CSVImport |