-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
fwouts
Apr 19, 2023
Replies: 1 comment 1 reply
-
Hey @KraKeN-47, if Preview.js were to support Storybook's play functions and run them before the screenshot is taken, would that work for you? That doesn't work yet, but looks like it might be easier to implement than I expected. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now implemented in v0.1.2.
All you need is to define a function
play
on your story (or even on a component) which looks like this: