How to programmatically generate stories with Component Story Format (CSF)? #27116
Unanswered
richardliu-db
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm working on a library for visualization. There are lots of combination of configurations. I don't want to manually create the stories
Imagine I have two options, show/hideLabel, show/hideAxis. There will be 4 combinations. Currently I need to manually write 4 stories. Can I create them via a for loop?
I need to have these stories because I use them to generate Percy diffs.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions