Closed AhmedAbdulrahman closed 2 years ago
This PR enables emotion components to be targeted like regular CSS selectors using @emotion/babel-plugin. Working for MUI v5 client-side & server-side application
const Parent = styled.div` background: 'white' ` const Button = styled.button` color: green; [`${Parent} &`] : { color: 'red' } `
Overview
This PR enables emotion components to be targeted like regular CSS selectors using @emotion/babel-plugin. Working for MUI v5 client-side & server-side application