Skip to content

Commit

Permalink
Merge pull request #1950 from pandaiolo/master
Browse files Browse the repository at this point in the history
[CardHeader] title and subtitle can be any node, not only strings
  • Loading branch information
oliviertassinari committed Oct 21, 2015
2 parents 806732f + 4706cca commit 3dc01af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/card/card-header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ const CardHeader = React.createClass({
},

propTypes: {
title: React.PropTypes.string,
title: React.PropTypes.node,
titleColor: React.PropTypes.string,
titleStyle: React.PropTypes.object,
subtitle: React.PropTypes.string,
subtitle: React.PropTypes.node,
subtitleColor: React.PropTypes.string,
subtitleStyle: React.PropTypes.object,
textStyle: React.PropTypes.object,
Expand Down

0 comments on commit 3dc01af

Please sign in to comment.