Closed acomito closed 6 years ago
Hi @acomito, I'll have a look ASAP, which probably means at least 3-4 weeks (sorry, it's vacation time 😄). Of course a contribution would be welcome.
No problem at all @gvaldambrini. I was just throwing it out there in case I was missing something simple. I'll report back if I solve it (or determine that it requires a PR of some sort).
I'm working on this, and I have a first rough prototype that seems to work fine with the info addon. Hopefully in few days I will be able to release a new version fixing this problem. Thanks for the report 😄
amazing thank you
I'm sorry, but after more tests I need to say that is not possible being completely transparent to other decorators (in this case the problem is with the story source). The workaround I can offer you is to put StoryRouter after the info addon, and everything works as expected.
Issue:
Which version are you using?
CNA
Are you using storybook-router with a react based project or a vue one?
react
Please describe the problem:
I am using the info addon to see prop information etc.
using the storybook-react decorator and I unfortunately see the router props instead of the underlying component's props:
should be something like this:
but I see this:
Please explain how to reproduce the issue or (better) provide an example to do it.
config