Fix warning message raised from Icon component

This commit is contained in:
Oswaldo Acauan 2016-02-22 16:20:07 -03:00 committed by gcampes
parent bcae6e2051
commit 86c590e98e

View File

@ -8,12 +8,13 @@ Tooltip = React.createClass({
getDefaultProps() {
return {
placement: 'bottom'
placement: 'bottom',
componentClass: 'span'
};
},
render() {
let Component = this.props.componentClass || 'span';
let Component = this.props.componentClass;
return (
<Component