diff --git a/docs/src/app/components/pages/components/dialog.jsx b/docs/src/app/components/pages/components/dialog.jsx index cf9085467f2406..bca9f7bedc8d80 100644 --- a/docs/src/app/components/pages/components/dialog.jsx +++ b/docs/src/app/components/pages/components/dialog.jsx @@ -57,9 +57,9 @@ var DialogPage = React.createClass({ }, { name: 'title', - type: 'string', + type: 'node', header: 'optional', - desc: 'The title string to display on the dialog.' + desc: 'The title to display on the dialog. Could be number, string, element or an array containing these types.' } ] }, diff --git a/src/js/dialog.jsx b/src/js/dialog.jsx index bebdaa17d6e94f..2f4281759633b3 100644 --- a/src/js/dialog.jsx +++ b/src/js/dialog.jsx @@ -7,7 +7,7 @@ var Dialog = React.createClass({ mixins: [Classable], propTypes: { - title: React.PropTypes.string + title: React.PropTypes.node }, render: function() {