mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat(webapp): import resource UI
This commit is contained in:
28
packages/webapp/src/containers/Import/ImportStepper.tsx
Normal file
28
packages/webapp/src/containers/Import/ImportStepper.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user