We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug i`m using typescript with theme UI MDX seems to does not recognize react fragment <></>
To Reproduce use fragment tag <></> in mdx component
Expected behavior mdx return @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.ts(17017)
@jsxFrag pragma is required when using an @jsx pragma with JSX fragments.ts(17017)
Screenshots
Additional context work around solution is that using React.fragment is there another way to fix it?
React.fragment
The text was updated successfully, but these errors were encountered:
Thanks for the issue, @toy-crane!
I'm not sure yet if this is in this codebase our upstream.
This PR looks relevant mdx-js/mdx#1014 (comment)
Sorry, something went wrong.
I'm not able to reproduce this issue at this point, so closing for now. If you're still running into it, please fork my CodeSandbox with a repro: https://codesandbox.io/s/next-theme-ui-example-forked-gxcd0?file=/components/about.mdx
No branches or pull requests
Describe the bug
i`m using typescript with theme UI
MDX seems to does not recognize react fragment <></>
To Reproduce
use fragment tag <></> in mdx component
Expected behavior
mdx return
@jsxFrag pragma is required when using an @jsx pragma with JSX fragments.ts(17017)
Screenshots
![Screen Shot 2020-12-05 at 12 58 36 AM](https://user-images.githubusercontent.com/3426196/101185277-02cdc980-3695-11eb-884f-0d141d67cdb4.png)
Additional context
work around solution is that using
React.fragment
is there another way to fix it?
The text was updated successfully, but these errors were encountered: