addDecorator() argument typing.
Have a problem with TypeScript using addDecorator() function

So there probably should be a way to add typing to addDecorator() argument.
Managed to solve adding an interface to CenterView component like that
But it's probably a workaround, not a complete solution.
Hey thanks for creating this issue, this is something I myself have run into so I understand how annoying it can be. My workaround is usually to do (story:any) on the decorator rather than changing the components prop typing. Ideally storybook shouldn't change the way you use your component.
Anyway this will get fixed, however I'm focused on 6.0 now so it might have to be with that release.
Also running into this issue, anyone found a decent workaround?
Can you check with the latest version 5.3.25?
@dannyhw typing changes, but not fixed :/

Ok well it seems like I need to take another look at it, thanks for letting me know. If anyone want to take this one I'm open to PR's :)
Ok well it seems like I need to take another look at it, thanks for letting me know. If anyone want to take this one I'm open to PR's :)
@dannyhw - I could give it a try :)
@chitra591 that would be great, if you need any help I'm available :). If you want to chat you can find me in the react-native channel on the discord: https://discord.gg/sMFvFsG
Hey @s5unanow
This issue looks a bit old, there is a new way to add decorators now compatible with storybook 6.5 and the last CSF syntax. Do you think you can upgrade and close this issue?
Hey @flexbox , thanks for updating. As for now I am not able to test given functionality, but much appreciate it has been solved.
Closing this issue.