mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[guide] [react] Add missing trailing comma
This commit is contained in:
committed by
Jordan Harband
parent
cdbe705fc4
commit
40d5797b35
@@ -359,6 +359,7 @@
|
||||
SFC.propTypes = {
|
||||
foo: PropTypes.number.isRequired,
|
||||
bar: PropTypes.string,
|
||||
children: PropTypes.node,
|
||||
};
|
||||
SFC.defaultProps = {
|
||||
bar: '',
|
||||
|
||||
Reference in New Issue
Block a user