-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.component: BoxThe React component.The React component.scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUI
Milestone
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
A css prop had been added in Styled-components v4: https://www.styled-components.com/docs/api#css-prop. It is a very handy way to stylize a component, and personnaly I use it a lot.
However, it doesn't work on the Box component because Box has already a css property. I think it would be preferable not to have one to make it possible to use Styled-components one.
kizivat and oliviertassinari
Metadata
Metadata
Assignees
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.component: BoxThe React component.The React component.scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUI