Live Example:

```js
import { useState, useEffect } from 'react';
import { onProviderChanged, createProvider } from "../provider";

import { RMWizard } from './index.tsx';
import Data from '../sdk-data';
import { WizardStepType } from './wizardStepType';

const [provider, setProvider] = useState(createProvider());
useEffect(() => onProviderChanged(() => setProvider(createProvider())), []);

const [isOpened, setOpened] = useState(false);
const [coverage, setCoverage] = useState('0');

function handleClose(c) {
  setOpened(false);
}

function handleDeposit(value) {
  setCoverage(value);

  return new Promise(resolve => setTimeout(() => resolve(true), 3000));
}

let marketId = Data.markets[0] && Data.markets[0].id;
  <>
    <input type='button' onClick={() => setOpened(true)} value={'Open Wizard'} />

    {
      isOpened && <RMWizard
        provider={provider}
        environment="MumbaiStaging"
        onClose={handleClose}
        title={'Deposit and Activate Protection'}
        stepList={[
          {
            type: WizardStepType.ApproveToken,
            params: {
              token: "0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b",
              minApprovedAmount: "0",
              approveFor: "0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b",
            },
            description: "Approve USDC Token",
          },
          {
            type: WizardStepType.NumericValueSubmit,
            params: {
              submitCallBack: handleDeposit,
              initialValue: "1000",
              buttonTitle: "Deposit",
            },
            description: "Specify Amount and Press Deposit",
          },
          {
            type: WizardStepType.ApproveMarketToken,
            params: {
              marketId: "2",
              coverage,
            },
            description: "Approve Market Premium Token",
          },
          {
            type: WizardStepType.ActivateMarketProtection,
            description: "Review Information and Activate Protection",
            params: {
              marketId: "2",
              coverage,
            },
          },
        ]}
      />
    }
</>

```