Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vx/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/tooltip - npm Package Compare versions

Comparing version 0.0.126 to 0.0.127

15

build/tooltips/Tooltip.js

@@ -25,7 +25,10 @@ 'use strict';

var className = props.className,
restProps = _objectWithoutProperties(props, ['className']);
top = props.top,
left = props.left,
style = props.style,
restProps = _objectWithoutProperties(props, ['className', 'top', 'left', 'style']);
return _react2.default.createElement(
'div',
{
_extends({
className: (0, _classnames2.default)('vx-tooltip-portal', className),

@@ -41,7 +44,9 @@ style: _extends({

lineHeight: '1em',
pointerEvents: 'none'
}, restProps)
},
pointerEvents: 'none',
top: top,
left: left
}, style)
}, restProps),
props.children
);
}
{
"name": "@vx/tooltip",
"version": "0.0.126",
"version": "0.0.127",
"description": "vx tooltip",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -5,3 +5,3 @@ import React from 'react';

export default function Tooltip(props) {
const { className, ...restProps } = props;
const { className, top, left, style, ...restProps } = props;
return (

@@ -20,4 +20,7 @@ <div

pointerEvents: 'none',
...restProps,
top,
left,
...style
}}
{...restProps}
>

@@ -24,0 +27,0 @@ {props.children}

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc