react-magma
react-magma copied to clipboard
Receiving "Property 'css' is missing" when try to use Heading component from the [email protected]
Description: I'm trying to use the latest version of react-magma-dom package which is 2.5.6, and receiving typescript error "Property 'css' is missing" for the Heading component.
Steps to reproduce:
- Install [email protected] and related packages.
- Use Heading component.
- Review the TS issue.
Here's sandbox with the reproduction: https://codesandbox.io/s/heuristic-star-ik9w5?file=/src/App.tsx
This looks like an issue with emotion, a dependent package that we use => https://github.com/emotion-js/emotion/issues/1431 / https://github.com/emotion-js/emotion/issues/1249
We'll look at this some more and determine a solution.