client/hippo/components/tool-tip.jsx in hippo-fw-0.9.7 vs client/hippo/components/tool-tip.jsx in hippo-fw-0.9.8
- old
+ new
@@ -4,16 +4,18 @@
import 'react-tippy/dist/tippy.css';
// Use a wrapper component even though it doesn't really add any functionality
// In the future we'll add a Manager wrapper so that multiple tooltips cannot be shown at once
export default class ToolTip extends React.PureComponent {
+
render() {
const { children, ...tipProps } = this.props;
return (
<Tippy
{...tipProps}
>
{children}
</Tippy>
);
}
+
}