[DatePicker] Allow customizing icons
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Month picker dropdown should have icon customization (like those for month pagination leftArrowIcon
etc)
Examples 🌈
expected:
current:
Motivation 🔦
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
[DatePicker] Allow customizing icons #23673 - mui/material-ui
From what I understand I need to expose a prop which will take an icon and that icon should appear on the datepicker....
Read more >How to change the icon in MUI DatePicker? - Stack Overflow
The components prop of DatePicker lets you override the inner components including the OpenPickerIcon , so this is how you override it.
Read more >Modify the Default Icon - Kendo UI DatePicker - Documentation
Solution. In order to replace the default icon, use the .removeClass() and the .addClass() method respectively as seen in the following snippet:
Read more >Customization in JavaScript DatePicker control - Syncfusion
You can customize the entire appearance of the input element and Calendar by using custom cssClass property. and also you can use the...
Read more >DatePicker - Mantine
DatePicker · Usage · Controlled · Localization · Custom day renderer · Level change · First day of the week · Open calendar...
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
@oliviertassinari I’m for consistency. So choose whatever pattern you’ve chosen for the rest of the props and we’ll follow along. Since both packages relate to the same set of MUI, then a single way of doing things is preferred. I like the
components
approach, it’s more flexible for you to pass down any necessary props and for me to adjust the render if necessary.@tcho0501 and I will take a try at it!