Socket
Socket
Sign inDemoInstall

@propellerads/smart-tooltip

Package Overview
Dependencies
1
Maintainers
13
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

CHANGELOG.md

8

index.jsx
import React, {useRef, useEffect, useState} from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import {isMobile} from 'react-device-detect';

@@ -159,5 +158,2 @@ import StyledSmartTooltip, {TOOLTIP_POSITION} from './style';

function showTooltip(target, tip, position) {
if (isMobile) {
return;
}
document.body.appendChild(containerDomNode);

@@ -177,6 +173,2 @@

function hideTooltip() {
if (isMobile) {
return;
}
ReactDOM.unmountComponentAtNode(containerDomNode);

@@ -183,0 +175,0 @@ document.body.removeChild(containerDomNode);

{
"name": "@propellerads/smart-tooltip",
"version": "1.0.1",
"version": "1.1.0",
"main": "index.jsx",

@@ -10,5 +10,4 @@ "repository": "https://github.com/propellerads/ui-components.git",

"dependencies": {
"@propellerads/stylevariables": "^1.0.3",
"react-device-detect": "^1.11.14"
"@propellerads/stylevariables": "^1.0.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc