mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Merge pull request #12197 from DaleSeo/fix-indent
Fix indents/line breaks in code exmaples
This commit is contained in:
commit
20101d6d99
@ -6,9 +6,8 @@ import Button from './button.component';
|
|||||||
export default {
|
export default {
|
||||||
title: "Button",
|
title: "Button",
|
||||||
component: Button,
|
component: Button,
|
||||||
argTypes: {
|
argTypes: {
|
||||||
backgroundColor: { control: 'color' },
|
backgroundColor: { control: 'color' },
|
||||||
|
|
||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
// Now all Button stories will be primary.
|
// Now all Button stories will be primary.
|
||||||
|
@ -7,7 +7,7 @@ import Button from './Button';
|
|||||||
export default {
|
export default {
|
||||||
title: "Button",
|
title: "Button",
|
||||||
component: Button,
|
component: Button,
|
||||||
argTypes: {
|
argTypes: {
|
||||||
backgroundColor: { control: 'color' },
|
backgroundColor: { control: 'color' },
|
||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
|
@ -8,9 +8,8 @@ import Button from './Button';
|
|||||||
export default {
|
export default {
|
||||||
title: "Button",
|
title: "Button",
|
||||||
component: Button,
|
component: Button,
|
||||||
argTypes: {
|
argTypes: {
|
||||||
backgroundColor: { control: 'color' },
|
backgroundColor: { control: 'color' },
|
||||||
|
|
||||||
},
|
},
|
||||||
args: {
|
args: {
|
||||||
// Now all Button stories will be primary.
|
// Now all Button stories will be primary.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user