I think it's not possible to styled ListItem because of the typescript definition of ListItemProps
Current Behavior 😯

Okayyy it's really for showing the problem, the real goal is to styled the ListItem without using sx props -it will be a library component that let the user potentially use the sx props-.
Context 🔦
Your Environment 🌎
@types/react...17.0.8
@types/react-dom...17.0.5
typescript...4.3.2
@emotion/core...11.0.0
@emotion/react...11.4.0
@emotion/styled...11.3.0
@material-ui/core@next...5.0.0-alpha.34
@material-ui/icons@next...5.0.0-alpha.34
@material-ui/lab@next...5.0.0-alpha.34
react...17.0.2
react-dom...17.0.2
I think it's not possible to styled
ListItembecause of the typescript definition ofListItemPropsCurrent Behavior 😯
Okayyy it's really for showing the problem, the real goal is to styled the
ListItemwithout usingsx props-it will be a library component that let the user potentially use thesx props-.Context 🔦
Your Environment 🌎
@types/react...17.0.8
@types/react-dom...17.0.5
typescript...4.3.2
@emotion/core...11.0.0
@emotion/react...11.4.0
@emotion/styled...11.3.0
@material-ui/core@next...5.0.0-alpha.34
@material-ui/icons@next...5.0.0-alpha.34
@material-ui/lab@next...5.0.0-alpha.34
react...17.0.2
react-dom...17.0.2