Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.

Commit da9f981

Browse files
committed
chore(docs): fix typo
1 parent 1c3f8b6 commit da9f981

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,19 +158,19 @@ Storybook 6.4 released a [new version of CSF](https://storybook.js.org/blog/comp
158158
// Example 1: Meta with component property
159159
export default {
160160
title: 'Button',
161-
component: Button // <-- This is strictly necessary
162-
}
161+
component: Button, // <-- This is strictly necessary
162+
};
163163

164164
// Example 2: Meta with render method:
165165
export default {
166166
title: 'Button',
167-
render: (args) => <Button {...args}/>
168-
}
167+
render: args => <Button {...args} />,
168+
};
169169

170-
// Example 2: Story with render method:
170+
// Example 3: Story with render method:
171171
export const Primary = {
172-
render: (args) => <Button {...args}/>
173-
}
172+
render: args => <Button {...args} />,
173+
};
174174
```
175175

176176
#### Interactions with play function

0 commit comments

Comments
 (0)