question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jahglowcommented, Nov 22, 2020

@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.

0reactions
jackcwucommented, Dec 12, 2020

@tcho0501 and I will take a try at it!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found