mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-18 16:41:58 +00:00
Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets
This commit is contained in:
commit
741a0c73bf
5
frontend/react.js
vendored
5
frontend/react.js
vendored
@ -337,8 +337,3 @@ MyComponent.propTypes = {
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
// Specifies the default values for props:
|
||||
MyComponent.defaultProps = {
|
||||
name: 'Stranger'
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user