I have seen in a lot of the material-ui code that they use pseudo selectors in their react styled components. I thought I would try to do it myself and I cannot get it to work.
I found out that the content attribute needed to be double quoted like this
const styles = () => createStyles({ h: { '&::before': { content: '"some content"', display: 'block', height: 60, marginTop: -60 } } });
and then everything worked like expected