Repository navigation
6.4 makeDecorator: storyFn requires 2 parametors? #16875
Answered
by
shilman
NickMcBurney
asked this question in
Help
|
I have a decorator using syntax as described here: https://storybook.js.org/docs/vue/addons/addons-api#makedecorator-api But with Storybook 6.4 I'm getting build errors because I can't find any guidance on this in docs, and the TS definitions aren't very helpful. Does anyone know what |
Answered by
shilman
Dec 2, 2021
Replies: 1 comment 10 replies
|
@NickMcBurney what version are you upgrading from? starting in 6.0, story functions take an |
10 replies
Answer selected by
NickMcBurney
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

@NickMcBurney what version are you upgrading from? starting in 6.0, story functions take an
argsobject as their first input, and the context object as their second https://storybook.js.org/blog/introducing-storybook-args/