Styled Components does not work with DayPickerInput #1121
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I can do it with a wrapper, not sure if it's proper way. |
Beta Was this translation helpful? Give feedback.
-
I did pretty much the same way but with scss. how I did not think this way. |
Beta Was this translation helpful? Give feedback.
-
To avoid having wrapper, you can pass the right Updated codesandbox: https://codesandbox.io/s/p3427n1m8j |
Beta Was this translation helpful? Give feedback.
-
Update fork because the wrapper does not work with refs, so i add forwardRef: |
Beta Was this translation helpful? Give feedback.
-
Hey, you can create a wrapper and replace the existing css, like this:
|
Beta Was this translation helpful? Give feedback.
Hey, you can create a wrapper and replace the existing css, like this: