You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building out a custom addon that uses our custom components within our design system and I run into issues around React is not defined because we use react-jsx internally and we have alias to use the src code vs. the compiled code. I would rather build out using our design system for these addons vs. using the storybook components to make it look and feel like the rest of the app.
Could this jsx be set to react-jsx instead?
To Reproduce
No repro library, but when I override the `jsx` to be `react-jsx`, my local is unblocked.
System
7.0.0-beta.43 (latest)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In the
tsconfig
that is used to build/compile the custom addons there is the followingtsconfig
that is used:https://github.com/storybookjs/storybook/blob/187b02b0ce8797495d17ce93626c160e4fc3af60/code/lib/builder-manager/templates/addon.tsconfig.json
I am building out a custom addon that uses our custom components within our design system and I run into issues around
React is not defined
because we usereact-jsx
internally and we have alias to use thesrc
code vs. the compiled code. I would rather build out using our design system for these addons vs. using the storybook components to make it look and feel like the rest of the app.Could this
jsx
be set toreact-jsx
instead?To Reproduce
System
Additional context
No response
The text was updated successfully, but these errors were encountered: