mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
|
|
import SetupSubscription from './SetupSubscription/SetupSubscription';
|
|
import SetupOrganizationPage from './SetupOrganizationPage';
|
|
import SetupInitializingForm from './SetupInitializingForm';
|
|
import SetupCongratsPage from './SetupCongratsPage';
|
|
import { Stepper } from '@/components/Stepper';
|
|
import styles from './SetupWizardContent.module.scss';
|
|
|
|
interface SetupWizardContentProps {
|
|
stepIndex: number;
|
|
stepId: string;
|
|
}
|
|
|
|
/**
|
|
* Setup wizard content.
|
|
*/
|
|
export default function SetupWizardContent({
|
|
stepIndex,
|
|
stepId,
|
|
}: SetupWizardContentProps) {
|
|
return (
|
|
<div class="setup-page__content">
|
|
<Stepper
|
|
active={stepIndex}
|
|
classNames={{
|
|
content: styles.content,
|
|
items: styles.items,
|
|
}}
|
|
>
|
|
<Stepper.Step label={'Subscription'}>
|
|
<SetupSubscription />
|
|
</Stepper.Step>
|
|
|
|
<Stepper.Step label={'Organization'}>
|
|
<SetupOrganizationPage id="organization" />
|
|
</Stepper.Step>
|
|
|
|
<Stepper.Step label={'Initiializing'}>
|
|
<SetupInitializingForm id={'initializing'} />
|
|
</Stepper.Step>
|
|
|
|
<Stepper.Step label={'Congrats'}>
|
|
<SetupCongratsPage id="congrats" />
|
|
</Stepper.Step>
|
|
</Stepper>
|
|
</div>
|
|
);
|
|
}
|