Skip to content

Commit ed6203c

Browse files
committed
Add Stepper story
1 parent 4b23cd6 commit ed6203c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { Meta, StoryObj } from '@storybook/react-vite'
2+
3+
import { Stepper } from './index'
4+
5+
type Story = StoryObj<typeof meta>
6+
7+
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
8+
const meta: Meta<typeof Stepper> = {
9+
title: 'Devfive/Stepper',
10+
component: Stepper,
11+
decorators: [
12+
(Story) => (
13+
<div style={{ padding: '10px' }}>
14+
<Story />
15+
</div>
16+
),
17+
],
18+
}
19+
20+
export const Default: Story = {
21+
args: {
22+
value: 1,
23+
},
24+
}
25+
26+
export default meta

0 commit comments

Comments
 (0)