how to add theme-ui to storybook project #2415
Unanswered
Mohamedsobhy292
asked this question in
General
Replies: 1 comment 1 reply
-
You can use automatic JSX runtime with Theme UI. Configure |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I work with a project using theme-ui library
which make use of the jsx paragma
so in the beginning of every file I have
/** @jsx jsx */
import { jsx } from '@theme-ui/core';
I want to add storybook 6 to my project, when I add storybook I always get an error of pragma and pragmaFrag cannot be set when runtime is automatic.
I tried to override the babel config on .storbook/main.js but no luck using this code
Beta Was this translation helpful? Give feedback.
All reactions