Skip to content

Commit 3dc01af

Browse files
Merge pull request mui#1950 from pandaiolo/master
[CardHeader] title and subtitle can be any node, not only strings
2 parents 806732f + 4706cca commit 3dc01af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/card/card-header.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ const CardHeader = React.createClass({
3939
},
4040

4141
propTypes: {
42-
title: React.PropTypes.string,
42+
title: React.PropTypes.node,
4343
titleColor: React.PropTypes.string,
4444
titleStyle: React.PropTypes.object,
45-
subtitle: React.PropTypes.string,
45+
subtitle: React.PropTypes.node,
4646
subtitleColor: React.PropTypes.string,
4747
subtitleStyle: React.PropTypes.object,
4848
textStyle: React.PropTypes.object,

0 commit comments

Comments
 (0)