feat(webapp): import resource UI

This commit is contained in:
Ahmed Bouhuolia
2024-03-19 03:57:57 +02:00
parent 1ba26a3b85
commit ff5730d8a7
37 changed files with 1470 additions and 12 deletions

View File

@@ -0,0 +1,28 @@
// @ts-nocheck
import { Stepper } from '@/components/Stepper';
import { ImportFileUploadStep } from './ImportFileUploadStep';
import styles from './ImportStepper.module.scss';
import { useImportFileContext } from './ImportFileProvider';
import { ImportFileMapping } from './ImportFileMapping';
import { ImportFilePreview } from './ImportFilePreview';
export function ImportStepper() {
const { step } = useImportFileContext();
return (
<Stepper active={step} classNames={{ content: styles.content }}>
<Stepper.Step label={'File Upload'}>
<ImportFileUploadStep />
</Stepper.Step>
<Stepper.Step label={'Mapping'}>
<ImportFileMapping />
</Stepper.Step>
<Stepper.Step label={'Results'}>
<ImportFilePreview />
</Stepper.Step>
</Stepper>
);
}