fix(ui): remove pointless prop definition

It's defined on Tooltip instead of the wrapper and it's not needed
This commit is contained in:
Łukasz Mierzwa
2019-05-11 18:51:28 +01:00
parent eb1181cd70
commit e2dc16b1b2

View File

@@ -1,5 +1,4 @@
import React from "react";
import PropTypes from "prop-types";
import { Tooltip } from "react-tippy";
@@ -10,14 +9,11 @@ const TooltipWrapper = ({ children, ...props }) => (
delay={[1000, 100]}
size="small"
touchHold={true}
style={{ display: "inline-block", "maxWidth": "100%" }}
style={{ display: "inline-block", maxWidth: "100%" }}
{...props}
>
{children}
</Tooltip>
);
Tooltip.propTypes = {
children: PropTypes.node.isRequired
};
export { TooltipWrapper };