Skip to content

Commit

Permalink
CardHeader title and subtitle can be any node, not only strings
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaiolo committed Oct 21, 2015
1 parent b63a94f commit 4706cca
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 4706cca

Please sign in to comment.