Skip to content

Commit

Permalink
Sharing: Accept any renderable React node for label
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Dec 18, 2015
1 parent d5bd6d9 commit 77cf51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/sharing/connections/service-example.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = React.createClass( {
src: React.PropTypes.string,
alt: React.PropTypes.string
} ),
label: React.PropTypes.oneOfType( [ React.PropTypes.string, React.PropTypes.element, React.PropTypes.object ] ),
label: React.PropTypes.node,
single: React.PropTypes.bool
},

Expand Down

0 comments on commit 77cf51a

Please sign in to comment.