Styling of ErrorMessage component using styled-components #1681
Answered
by
bluebill1049
qasimalyas
asked this question in
General
-
I'm having an issue when using the Here's a demo. https://codesandbox.io/s/patient-sky-5jekz?file=/src/App.js You can see that I created a styled component |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
May 24, 2020
Replies: 1 comment
-
I suspect this is due to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bluebill1049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect this is due to
as
props, I would recommend to do things the other way around. make a style component and pass it toas
.