Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets
This commit is contained in:
commit
741a0c73bf
|
@ -337,8 +337,3 @@ MyComponent.propTypes = {
|
|||
}
|
||||
})
|
||||
};
|
||||
|
||||
// Specifies the default values for props:
|
||||
MyComponent.defaultProps = {
|
||||
name: 'Stranger'
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue