Allow to merge pseudo props
See original GitHub issueIs your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I’m always frustrated when […]
<Button _hover={{ fontWeight: 'bold' }}>Button</Button>
Something like this will disable the default hover
styles.
Describe the solution you’d like A clear and concise description of what you want to happen.
Maybe we should merge custom pseudo props with the default one?
Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.
No.
Additional context Add any other context or screenshots about the feature request here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to make reusable components with pseudo-selectors
When you first see an as prop, it can be something of an epiphany. Props can be anything, even components! JSX elements can...
Read more >Pseudo-classes and pseudo-elements - MDN Web Docs
In this article we've introduced CSS pseudo-classes and pseudo-elements, which are special types of selectors.
Read more >How to render pseudo before content dynamically in styled ...
I have no problem when I render pseudo before content statically, but it doesn't work when I try it dynamically. React Component. const...
Read more >How do you combine Qt dynamic properties and - Reddit
How do you combine Qt dynamic properties and ::pseudo-elements in QSS? I need to hide a QComboBox's down arrow but only for a...
Read more >Frontend Handbook | React / Chakra UI - Infinum
The main difference is that __css prop will be merged before sx ... can be used to enable custom component receive chakra's style...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I like this idea. Any news on this?
I anticipated that the
_hover
prop would be merged with the default styles by default.Can we reopen this please?