fix: stepper name collision
This commit is contained in:
parent
ad0ee340c6
commit
b51a54596e
|
@ -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>
|
|
@ -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)
|
Loading…
Reference in New Issue