We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I cannot override styles of DatePicker using styled(DatePicker).
styled(DatePicker)
Steps to reproduce the bug
https://codesandbox.io/p/live/a0f3cab7-46ad-4c23-ba83-f14e79bd83c8
Expected behavior
Would expect styled(DatePicker) to work, as for other EDS components.
Specifications
Suggested solution
Did a quick test by modifying the component in node_modules.
node_modules
Following this pattern on the DatePicker element worked: https://styled-components.com/docs/advanced#styling-normal-react-components
The text was updated successfully, but these errors were encountered:
Good point, we just need to append & HTMLAttributes<HTMLDivElement> to the DatePickerProps type
& HTMLAttributes<HTMLDivElement>
Sorry, something went wrong.
oddvernes
Successfully merging a pull request may close this issue.
Describe the bug
I cannot override styles of DatePicker using
styled(DatePicker)
.Steps to reproduce the bug
https://codesandbox.io/p/live/a0f3cab7-46ad-4c23-ba83-f14e79bd83c8
Expected behavior
Would expect
styled(DatePicker)
to work, as for other EDS components.Specifications
Suggested solution
Did a quick test by modifying the component in
node_modules
.Following this pattern on the DatePicker element worked: https://styled-components.com/docs/advanced#styling-normal-react-components
The text was updated successfully, but these errors were encountered: