[guide] [react] Add missing trailing comma

This commit is contained in:
Harkirat Saluja
2017-01-17 14:59:41 +05:30
committed by Jordan Harband
parent cdbe705fc4
commit 40d5797b35

View File

@@ -359,6 +359,7 @@
SFC.propTypes = {
foo: PropTypes.number.isRequired,
bar: PropTypes.string,
children: PropTypes.node,
};
SFC.defaultProps = {
bar: '',