Create dashboard container

This commit is contained in:
inpsyde-maticluznar 2024-10-25 06:45:01 +02:00
parent fc51e7f1a3
commit af4c2b0905
No known key found for this signature in database
GPG key ID: D005973F231309F6
5 changed files with 27 additions and 9 deletions

View file

@ -1,15 +1,16 @@
import Container from '../../ReusableComponents/Container.js';
import Container, {
PAGE_ONBOARDING,
} from '../../ReusableComponents/Container.js';
import StepWelcome from './StepWelcome.js';
import StepBusiness from './StepBusiness.js';
import StepProducts from './StepProducts.js';
import { useState } from '@wordpress/element';
import Dashboard from '../Dashboard/Dashboard';
const Onboarding = () => {
const [ step, setStep ] = useState( 0 );
return (
<Container>
<Container page={ PAGE_ONBOARDING }>
<div className="ppcp-r-card">
<Stepper currentStep={ step } setStep={ setStep } />
</div>