-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Allow &-nesting of element name #11
Comments
Also, I'm realizing that an empty class is created. |
Thank you for reporting, <div className={classes.roo} /> //Dosen't applies
<a className={classes.root} /> //Applies |
I released a new version. |
It isn't, but it's nice to know that I can use dynamic names like that. My issue stems from a quirk of MUI + ReactRouter. <ListItemButton
component={forwardRef<HTMLAnchorElement>((itemProps, ref) => (
<NavLink
activeClassName={classes.active} // this appears before ListItemButton's style That said, I was able to get around this using |
Ok, thanks for the detailed explanation. PS: As you mentioned |
|
Hi @awdyson, |
It seems as though nesting with
![image](https://user-images.githubusercontent.com/5612248/129807782-a28d4372-42d9-46d0-95f8-ccc2422531e7.png)
&
just concatenates whatever follows the ampersand.So
{ root: { '&a': { backgroundColor: ... } } }
becomes:It'd be nice to be able to
&
element names as well.The text was updated successfully, but these errors were encountered: