1
1
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:
Julien Le Coupanec 2018-03-22 23:03:43 -07:00
commit 741a0c73bf

5
frontend/react.js vendored
View File

@ -337,8 +337,3 @@ MyComponent.propTypes = {
}
})
};
// Specifies the default values for props:
MyComponent.defaultProps = {
name: 'Stranger'
};