I'd like to use styled-components with a custom Gutenberg block that I've created. The CSS class is added by styled-components, but there is no CSS style defined for that class in either the editor nor the frontend.

What am I missing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.