Skip to content

Commit

Permalink
Merge pull request #17484 from nam-hle/patch-4
Browse files Browse the repository at this point in the history
docs: The Template is a HOC
  • Loading branch information
jonniebigodes committed Feb 11, 2022
2 parents e4f5cf1 + 354062a commit 2eac53a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/snippets/react/page-story-slots.js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
component: Page,
};

const Template = (args) => (args) => (
const Template = (args) => (
<Page {...args}>
<footer>{args.footer}</footer>
</Page>
Expand All @@ -24,4 +24,4 @@ export const CustomFooter= Template.bind({});
CustomFooter.args = {
footer: 'Built with Storybook',
};
```
```

0 comments on commit 2eac53a

Please sign in to comment.