feat(storybook): 组件name
This commit is contained in:
@ -10,4 +10,6 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {}
|
||||
export const Base: Story = {
|
||||
name: '基本使用',
|
||||
}
|
||||
|
@ -10,4 +10,6 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {}
|
||||
export const Base: Story = {
|
||||
name: '基本使用',
|
||||
}
|
||||
|
@ -19,4 +19,6 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {}
|
||||
export const Base: Story = {
|
||||
name: '基本使用',
|
||||
}
|
||||
|
@ -10,4 +10,6 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {}
|
||||
export const Base: Story = {
|
||||
name: '基本使用',
|
||||
}
|
||||
|
@ -38,10 +38,10 @@ export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {
|
||||
storyName: '基本使用',
|
||||
name: '基本使用',
|
||||
}
|
||||
export const Preview: Story = {
|
||||
storyName: '启用disabled,当做预览组件',
|
||||
name: '启用disabled,当做预览组件',
|
||||
args: {
|
||||
modelValue: avatar,
|
||||
disabled: false,
|
||||
|
@ -29,4 +29,6 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Base: Story = {}
|
||||
export const Base: Story = {
|
||||
name: '基本使用',
|
||||
}
|
||||
|
Reference in New Issue
Block a user