set default types react

Solutions on MaxInterview for set default types react by the best coders in the world

showing results for - "set default types react"
Giacomo
27 Sep 2020
1
2// Specifies the default values for props:
3Greeting.defaultProps = {
4  name: 'Stranger'
5};
6