question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with Info addon while using with intl

See original GitHub issue

Bug Since I’m using intl along with info addon, the output I’m getting is Screenshot 2020-07-22 at 3 08 11 PM Expected output is Screenshot 2020-07-23 at 11 54 51 AM Is there a way to unwrap hoc of intl.

This is code stories.tsx export const CaptionExample = injectIntl(({ intl: { messages } }: any) => { return ( <Caption element={'p'} variant={variant} color={color}> {messages.text_order_cancel} </Caption> ); }); storiesOf('Components|Caption', module) .addDecorator(withKnobs) .addParameters({ info: { header: false, inline: true, propTables: false, } }) .add('CaptionExample', () => <CaptionExample />);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shilmancommented, Jul 23, 2020

Addon-info is deprecated and has been superceded by addon-docs, which fixes a bunch of bugs and is easier to maintain. Please give it a try! https://medium.com/storybookjs/storybook-docspage-e185bc3622bf

https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addon-info-addon-notes

0reactions
stale[bot]commented, Sep 20, 2020

Hey there, it’s me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

Read more comments on GitHub >

github_iconTop Results From Across the Web

storybook-addon-intl - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice.
Read more >
Storybook addons not working after migration from 3.x to 5.x ...
We are using the addons for knobs, actions, and locales. ... import { setIntlConfig, withIntl } from 'storybook-addon-intl'; ...
Read more >
I'm in London with international roaming addon; can't text
I paid $35 for the international roaming addon on my plan. I can use data, but can't send texts - I've tried sending...
Read more >
Re: addOn Updater 2.8 and checking both International and ...
Hi Joseph. In the latest release of the add on updater in the other version of it it let me go between the...
Read more >
Fix common installation issues with Creative Cloud app ...
This error occurs when you haven't entered your account credentials on being prompted. Try to install the plugin or extension again and enter ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found