react-magma icon indicating copy to clipboard operation
react-magma copied to clipboard

Receiving "Property 'css' is missing" when try to use Heading component from the [email protected]

Open YaroslavAntipov opened this issue 4 years ago • 1 comments

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:

  1. Install [email protected] and related packages.
  2. Use Heading component.
  3. Review the TS issue.

Here's sandbox with the reproduction: https://codesandbox.io/s/heuristic-star-ik9w5?file=/src/App.tsx

YaroslavAntipov avatar Nov 10 '21 12:11 YaroslavAntipov

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.

silvalaura avatar Jul 22 '22 18:07 silvalaura