Fixed: Tooltips not working for Icon Buttons, Revert title pullout in Link.js

pull/5003/head
Qstick 4 years ago
parent 2f311452da
commit da720fdf4c

@ -32,7 +32,6 @@ class Link extends Component {
isDisabled,
noRouter,
onPress,
title,
...otherProps
} = this.props;
@ -40,10 +39,6 @@ class Link extends Component {
let el = component;
if (to) {
if (title) {
linkProps.title = title;
}
if ((/\w+?:\/\//).test(to)) {
el = 'a';
linkProps.href = to;
@ -92,7 +87,6 @@ Link.propTypes = {
className: PropTypes.string,
component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
to: PropTypes.string,
title: PropTypes.string,
target: PropTypes.string,
isDisabled: PropTypes.bool,
noRouter: PropTypes.bool,

Loading…
Cancel
Save