mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
add string of to stories
This commit is contained in:
parent
ddb256e274
commit
4052c1b096
@ -109,3 +109,24 @@ export const OfStoryAsStoryCommentAndParameter: Story = {
|
||||
export const OfUndefinedAttached: Story = {
|
||||
parameters: { relativeCsfPaths: ['../examples/Button.stories'], attached: true },
|
||||
};
|
||||
export const OfStringComponentAttached: Story = {
|
||||
name: 'Of "component" Attached',
|
||||
args: {
|
||||
of: 'component',
|
||||
},
|
||||
parameters: { relativeCsfPaths: ['../examples/Button.stories'], attached: true },
|
||||
};
|
||||
export const OfStringMetaAttached: Story = {
|
||||
name: 'Of "meta" Attached',
|
||||
args: {
|
||||
of: 'meta',
|
||||
},
|
||||
parameters: { relativeCsfPaths: ['../examples/Button.stories'], attached: true },
|
||||
};
|
||||
export const OfStringStoryAttached: Story = {
|
||||
name: 'Of "story" Attached',
|
||||
args: {
|
||||
of: 'story',
|
||||
},
|
||||
parameters: { relativeCsfPaths: ['../examples/Button.stories'], attached: true },
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user