Fix warning message raised from Icon component
This commit is contained in:
parent
bcae6e2051
commit
86c590e98e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user