feat: create story for border box component
This commit is contained in:
parent
6606eb1625
commit
10ba1e0cf6
|
@ -0,0 +1,21 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import BorderBox from './BorderBox'
|
||||
|
||||
const meta = {
|
||||
title: 'General/BorderBox',
|
||||
component: BorderBox,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof BorderBox>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const DefaultColors: Story = {
|
||||
args: {
|
||||
children: 'BorderBox',
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue