question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Storybook: Add a way to define a custom Provider and configuration

See original GitHub issue

We should allow the users to define a storybook.preview.js configuration file. This would allow people to add additional decorators.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
peterpcommented, Mar 23, 2021

Resolved by #2054

0reactions
peterpcommented, Mar 23, 2021

Yup, this is resolved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Storybook
To control the way stories are rendered and add global decorators and parameters, create a .storybook/preview.js file. This is loaded in the Canvas...
Read more >
Use a Provider component in Storybook - Ryan Lanciaux
Create a theme decorator​​ storybook folder. Here we include our custom theme provider and define a component that receives a storyFn as a...
Read more >
Configuring Storybook: 6 Tips You Can't Miss | by Zheng Li
Tip 1: The Storybook has its default webpack configuration, when trying to import your current webpack config or add your own rules, DO...
Read more >
Using Storybook with React & Redux - DigitalOcean
storybook / directory and a config.js file. Once those pieces are in place, creating stories for React components is straightforward. //in Button ...
Read more >
Set up Storybook for React Projects - Nx
Generate Storybook Configuration for a React project · Nx React Storybook Preset · Auto-generate Stories · Cypress tests for Stories · Example Files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found