diff --git a/docs/emotion-11.mdx b/docs/emotion-11.mdx index cdf0dc7d2..a5985e4ac 100644 --- a/docs/emotion-11.mdx +++ b/docs/emotion-11.mdx @@ -69,7 +69,7 @@ For the classic runtime this has been implemented using technique described [her For the automatic runtime this has been implemented by exporting `JSX` namespace from the appropriate entries but this is only supported in **TypeScript 4.1 or higher**. -However, if you are stuck with older version of TypeScript or using the classic runtime implicitly by using our `@emotion/babel-preset-css-prop` then it's not possible to leverage leverage `css` prop support being added conditionally based on a type of rendered component. For those cases we have added a special file that can be imported once to add support for the `css` prop globally, for all components. Use it like this: +However, if you are stuck with older version of TypeScript or using the classic runtime implicitly by using our `@emotion/babel-preset-css-prop` then it's not possible to leverage `css` prop support being added conditionally based on a type of rendered component. For those cases we have added a special file that can be imported once to add support for the `css` prop globally, for all components. Use it like this: ```ts ///