atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.98k stars 68 forks source link

Fix r18 JSX namespace types #1617

Closed itsdouges closed 7 months ago

itsdouges commented 7 months ago

Inspiration: https://github.com/emotion-js/emotion/pull/3048/

This pull request adds a new type to Compiled's JSX namespace to fix usage with React 18 and its new return types (undefined / string / etc).

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: 463ba184b172efc6cf7e18728d2f2068329f6965

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | @compiled/react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR