diff --git a/components/font_icon/FontIcon.js b/components/font_icon/FontIcon.js
index f0a680e8..6e4e686f 100644
--- a/components/font_icon/FontIcon.js
+++ b/components/font_icon/FontIcon.js
@@ -1,7 +1,7 @@
import React, { PropTypes } from 'react';
import classnames from 'classnames';
-const FontIcon = ({ alt, children, className, value, ...other}) => (
+const FontIcon = ({ alt, children, className, theme, value, ...other}) => ( // eslint-disable-line
{
delay: defaultDelay,
hideOnClick: defaultHideOnClick,
showOnClick: defaultShowOnClick,
+ passthrough: defaultPassthrough,
position: defaultPosition,
theme: defaultTheme
} = {...defaults, ...options};
@@ -181,11 +183,14 @@ const tooltipFactory = (options = {}) => {
children,
className,
theme,
+ onClick, // eslint-disable-line no-unused-vars
+ onMouseEnter, // eslint-disable-line no-unused-vars
+ onMouseLeave, // eslint-disable-line no-unused-vars
tooltip,
- tooltipDelay, //eslint-disable-line no-unused-vars
- tooltipHideOnClick, //eslint-disable-line no-unused-vars
- tooltipPosition, //eslint-disable-line no-unused-vars
- tooltipShowOnClick, //eslint-disable-line no-unused-vars
+ tooltipDelay, // eslint-disable-line no-unused-vars
+ tooltipHideOnClick, // eslint-disable-line no-unused-vars
+ tooltipPosition, // eslint-disable-line no-unused-vars
+ tooltipShowOnClick, // eslint-disable-line no-unused-vars
...other
} = this.props;
@@ -194,26 +199,25 @@ const tooltipFactory = (options = {}) => {
[theme[positionClass]]: theme[positionClass]
});
- const isNative = typeof ComposedComponent === 'string';
+ const childProps = {
+ ...other,
+ className,
+ onClick: this.handleClick,
+ onMouseEnter: this.handleMouseEnter,
+ onMouseLeave: this.handleMouseLeave
+ };
- return (
-