Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does a barrel roll (fixes storybook modal show code) #89

Merged
merged 1 commit into from Aug 31, 2019

Conversation

VirtuaBoza
Copy link
Collaborator

found the solution here: storybookjs/storybook#5721 (comment)

// const req = require.context('../src', true, /\.story\.(js|mdx)$/);
// req.keys().forEach(filename => req(filename));
// };
addDecorator(Story => <Story />);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the winner right here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew I was on the right track with that but I couldn't get all the way there.

Copy link
Collaborator

@tylermwatts tylermwatts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEGS
pretty
effin
good
son
RepentantMiserableBunny-size_restricted

@tylermwatts tylermwatts merged commit 4445fa6 into master Aug 31, 2019
@tylermwatts tylermwatts deleted the fix-storybook-show-code-and-modal branch September 3, 2019 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants