mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
35 lines
876 B
TypeScript
35 lines
876 B
TypeScript
// @ts-nocheck
|
|
|
|
import { Stepper } from '@/components/Stepper';
|
|
import { ImportFileUploadStep } from './ImportFileUploadStep';
|
|
import { useImportFileContext } from './ImportFileProvider';
|
|
import { ImportFileMapping } from './ImportFileMapping';
|
|
import { ImportFilePreview } from './ImportFilePreview';
|
|
import styles from './ImportStepper.module.scss';
|
|
|
|
export function ImportStepper() {
|
|
const { step } = useImportFileContext();
|
|
|
|
return (
|
|
<Stepper
|
|
active={step}
|
|
classNames={{
|
|
content: styles.content,
|
|
items: styles.items,
|
|
}}
|
|
>
|
|
<Stepper.Step label={'File Upload'}>
|
|
<ImportFileUploadStep />
|
|
</Stepper.Step>
|
|
|
|
<Stepper.Step label={'Mapping'}>
|
|
<ImportFileMapping />
|
|
</Stepper.Step>
|
|
|
|
<Stepper.Step label={'Results'}>
|
|
<ImportFilePreview />
|
|
</Stepper.Step>
|
|
</Stepper>
|
|
);
|
|
}
|