fix: stepper name collision

This commit is contained in:
RadoslavDimchev 2023-08-24 10:29:59 +03:00
parent ad0ee340c6
commit b51a54596e
3 changed files with 5 additions and 5 deletions

View File

@ -1,16 +1,16 @@
import type { Meta, StoryObj } from '@storybook/react'
import StepperForm from './Stepper'
import FormStepper from './FormStepper'
const meta = {
title: 'ValidatorOnboarding/Stepper',
component: StepperForm,
title: 'ValidatorOnboarding/FormStepper',
component: FormStepper,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
} satisfies Meta<typeof StepperForm>
} satisfies Meta<typeof FormStepper>
export default meta
type Story = StoryObj<typeof meta>

View File

@ -1,6 +1,6 @@
import './StepperStyles.css'
import { useState } from 'react'
import { Stepper, Step } from 'react-form-stepper'
import './FormStepper.css'
const FormStepper = () => {
const [activeStep, setActiveStep] = useState<number>(0)