Browse Source
Update typechecking-with-proptypes.md
change the words
main
kinyaying
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/typechecking-with-proptypes.md
|
|
@ -170,7 +170,7 @@ ReactDOM.render( |
|
|
|
); |
|
|
|
``` |
|
|
|
|
|
|
|
You can also put propTypes and defaultProps as static props inside React class. |
|
|
|
You can also put the defaultProps as static props inside React class. |
|
|
|
|
|
|
|
```javascript |
|
|
|
class Greeting extends Component { |
|
|
|