client/hippo/components/icon.jsx in hippo-fw-0.9.6 vs client/hippo/components/icon.jsx in hippo-fw-0.9.7

- old
+ new

@@ -1,9 +1,18 @@ -import Icon from 'react-fontawesome'; +import React from 'react'; // eslint-disable-line no-unused-vars +import FAIcon from 'react-fontawesome'; +import cn from 'classnames'; + +const Icon = (props) => { + const { className, ...otherProps } = props; + return ( + <FAIcon className={cn('icon', className)} {...otherProps} /> + ); +}; export default Icon;