Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets

This commit is contained in:
Julien Le Coupanec committed 2018-03-22 23:03:43 -07:00
commit 741a0c73bf
1 file changed
-5
-5
View File
@@ -337,8 +337,3 @@ MyComponent.propTypes = {
}
})
};
// Specifies the default values for props:
MyComponent.defaultProps = {
name: 'Stranger'
};