![]() Some addons require specific theme variables that a Storybook user must add. Here's how you might insert a custom block: Addons and theme creation You can even override a Storybook block component. Here's how you might insert a custom code renderer for code blocks on the page, in. It's an advanced usage that we don't officially support in Storybook, but it's a powerful construct if you need it. ![]() MDX allows you to completely override the rendered components from Markdown using a components parameter. If you're using MDX for docs, there's one more level of "themability". It can be helpful when adding theme styles that target Storybook's HTML, but it comes with a cost as Storybook's inner HTML can change at any time through the release cycle. □ Caution: The same way as you can adjust your preview’s head tag, Storybook allows you to modify the code on the manager's side, through.
0 Comments
Leave a Reply. |