Why does defaultValue have type any ? - TextField Material UI

Viewed 61
1 Answers

Maybe that's because setting defaultValue to values such as: string number undefined null and array which would be converted using toString method is normal and it makes sense using type any instead of all these types.

Related