mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 13:13:08 +00:00
Update typechecking-with-proptypes.md
change the words
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user