From 4706cca3cce6b8455bdde933de42d6d9e6e2ec43 Mon Sep 17 00:00:00 2001 From: Pandaiolo Date: Wed, 21 Oct 2015 15:23:56 +0200 Subject: [PATCH] CardHeader title and subtitle can be any node, not only strings --- src/card/card-header.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/card/card-header.jsx b/src/card/card-header.jsx index 9d68f8220b6857..3035976f3847b1 100644 --- a/src/card/card-header.jsx +++ b/src/card/card-header.jsx @@ -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,