Merge pull request #17736 from storybookjs/fix_preact_snippets

Chore: (Docs) Fix typo in preact snippets
This commit is contained in:
jonniebigodes 2022-03-17 00:20:33 +00:00 committed by GitHub
commit d13836338e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import { Button } from './Button';
export default {
/* 👇 The title prop is optional.
* See https://storybook.js.org/docsreact/configure/overview#configure-story-loading
* See https://storybook.js.org/docs/preact/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Button',

View File

@ -9,7 +9,7 @@ import { YourComponent } from './YourComponent';
//👇 This default export determines where your story goes in the story list
export default {
/* 👇 The title prop is optional.
* See https://storybook.js.org/docsreact/configure/overview#configure-story-loading
* See https://storybook.js.org/docs/preact/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'YourComponent',