Using react-intl with Storybook #3227
Unanswered
ohaicristina
asked this question in
Q&A
Replies: 1 comment
-
Do you have a codesandbox? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
I'm working on a project using
react-intl
and I'm having a hard time getting it to work in Storybook. I keep receiving the following error:but I do have
<IntlProvider>
as a decorator in mypreview.js
file:I've also tried adding the decorator in the individual stories themselves and got the same result.
The documentation here seems out of date since
storybook-addon-intl
uses a super old react-intl and that package looks unmaintained but I did try it and still no dice.Any ideas? Thanks so much in advance!
Beta Was this translation helpful? Give feedback.
All reactions