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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.