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
After migrating to styled components v6 I cannot use a dark theme for antd Menu even though I am not assigning any additional styles:
const StyledMenu = styled(Menu)``; // as a result I get light theme instead of dark theme <StyledMenu theme="dark" mode="horizontal" items={[ { key: 'form', label: 'Form' }, { key: 'settings', label: 'Settings' }, ]} /> // When not using styled components dark theme is applied correctly <Menu theme="dark" mode="horizontal" items={[ { key: 'form', label: 'Form' }, { key: 'settings', label: 'Settings' }, ]} />
Using styled-components should not have any side effects like overwriting styles that I did not specify
Some styles are overwritten by styled-components
The text was updated successfully, but these errors were encountered:
related to: #4182
Sorry, something went wrong.
No branches or pull requests
Environment
System:
Binaries:
npmPackages:
Reproduction
After migrating to styled components v6 I cannot use a dark theme for antd Menu even though I am not assigning any additional styles:
Expected Behavior
Using styled-components should not have any side effects like overwriting styles that I did not specify
Actual Behavior
Some styles are overwritten by styled-components
The text was updated successfully, but these errors were encountered: