mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:41:17 +08:00
Update layout comment
This commit is contained in:
parent
da9433f91c
commit
fb2cc54f0a
@ -18,7 +18,7 @@ const meta: Meta<Header> = {
|
||||
}),
|
||||
],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/angular/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/angular/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -11,7 +11,7 @@ const meta: Meta<Page> = {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/angular/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/angular/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
decorators: [
|
||||
|
@ -7,7 +7,7 @@ export default {
|
||||
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
||||
tags: ['docsPage'],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ const meta: Meta<typeof Header> = {
|
||||
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
||||
tags: ['docsPage'],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ const meta: Meta<typeof Page> = {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
tags: ['docsPage'],
|
||||
render: (args) => createHeader(args),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
// More on argTypes: https://storybook.js.org/docs/7.0/html/api/argtypes
|
||||
|
@ -5,7 +5,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
render: () => createPage(),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -8,7 +8,7 @@ const meta: Meta<HeaderProps> = {
|
||||
tags: ['docsPage'],
|
||||
render: (args) => createHeader(args),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
// More on argTypes: https://storybook.js.org/docs/7.0/html/api/argtypes
|
||||
|
@ -6,7 +6,7 @@ const meta: Meta = {
|
||||
title: 'Example/Page',
|
||||
render: () => createPage(),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/preact/writing-docs/docs-page
|
||||
tags: ['docsPage'],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/preact/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/preact/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
argTypes: {
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/preact/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/preact/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
||||
tags: ['docsPage'],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ const meta: Meta<typeof Header> = {
|
||||
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
|
||||
tags: ['docsPage'],
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ const meta: Meta<typeof Page> = {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -15,7 +15,7 @@ export default {
|
||||
},
|
||||
}),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
argTypes: {
|
||||
|
@ -5,7 +5,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
component: Page,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ export default {
|
||||
'<my-header :user="user" @onLogin="onLogin" @onLogout="onLogout" @onCreateAccount="onCreateAccount" />',
|
||||
}),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -9,7 +9,7 @@ export default {
|
||||
template: '<my-page />',
|
||||
}),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -21,7 +21,7 @@ export default {
|
||||
template: '<my-header :user="user" />',
|
||||
}),
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
@ -5,7 +5,7 @@ export default {
|
||||
title: 'Example/Page',
|
||||
component: MyPage,
|
||||
parameters: {
|
||||
// More on Story layout: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
// More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user