0

I'm trying to build a plugin menu using wordpress components but it appears all the styles are missing. For ex. the button isn't colored the primary(Blue) in the following sandbox..

https://codesandbox.io/s/my-account-modal-lrj1s?file=/src/App.tsx

What am I missing?

1 Answer 1

1

Looks like I had to just import the package style sheet located at node_modules/@wordpress/components/build-style/style.css

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.