From 887775729979bdcd926815042f498fb6c1c5c412 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 7 Oct 2019 18:35:45 +0800 Subject: [PATCH] Fix typo --- addons/docs/docs/recipes.md | 2 +- .../stories/addon-docs/csf-with-mdx-docs.stories.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/docs/docs/recipes.md b/addons/docs/docs/recipes.md index fd3ae384857..ca0f8a021f5 100644 --- a/addons/docs/docs/recipes.md +++ b/addons/docs/docs/recipes.md @@ -60,7 +60,7 @@ import { SomeComponent } from 'path/to/SomeComponent'; # Button -I can embed a story (but not define one, since this file should not contain a `Meta`): +I can define a story with the function imported from CSF: {stories.basic} diff --git a/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx b/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx index 16472c77619..485a6dbd6b4 100644 --- a/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx +++ b/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx @@ -5,6 +5,6 @@ import * as stories from './csf-with-mdx-docs.stories'; # Button -I can define a story with the function defined in CSF! +I can define a story with the function imported from CSF: {stories.basic}