Skip to content
New issue

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

[docs] Document that @emotion/react is not fully supported in the System #31825

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@ export default function CssModulesSliderDeep2() {
![stars](https://img.shields.io/github/stars/emotion-js/emotion.svg?style=social&label=Star)
![npm](https://img.shields.io/npm/dm/@emotion/react.svg)

> ⚠️ Even if it is used internally by MUI, `@emotion/react` is not
> fully supported as a solution for writing custom style.
> It is not possible to use the `classes` property of MUI components,
> the internal styles will always take precedence over yours. [See sandbox](https://stackblitz.com/edit/tss-react-t9hqtn?file=index.tsx).

### The `css` prop

Emotion's **css()** method works seamlessly with MUI.
Expand Down