diff --git a/addons/docs/docs/theming.md b/addons/docs/docs/theming.md index 8bfb17e83ef..1fce4e357e0 100644 --- a/addons/docs/docs/theming.md +++ b/addons/docs/docs/theming.md @@ -60,6 +60,22 @@ addParameters({ }); ``` +You can even override a Storybook *block* component. + +Here's how you might insert a custom `` block: + +```js +import { PreviewBlock } from './PreviewBlock'; + +addParameters({ + docs: { + components: { + Preview: PreviewBlock, + }, + }, +}); +``` + ## More resources Want to learn more? Here are some more articles on Storybook Docs: