diff --git a/mixins/WidgetMixin.js b/mixins/WidgetMixin.js index 9face15..d62ae1d 100644 --- a/mixins/WidgetMixin.js +++ b/mixins/WidgetMixin.js @@ -16,7 +16,10 @@ module.exports = { propTypes: { name: React.PropTypes.string, - title: React.PropTypes.string, + title: React.PropTypes.oneOf([ + React.PropTypes.string, + React.PropTypes.element, + ]), formName: React.PropTypes.string, // image: , widgetStyles: React.PropTypes.object,