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

react-native-hotspot

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-hotspot - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "react-native-hotspot",
"version": "0.0.5",
"version": "0.0.6",
"description": "A React Native component that displays hotspots over desired components to help lead your users through an onboarding flow or direct them towards new UI elements",

@@ -5,0 +5,0 @@ "license": "MIT",

import React, { PureComponent } from 'react';
import { findNodeHandle } from 'react-native';
import PropTypes from 'prop-types';
import { Pulse } from './';

@@ -8,2 +9,6 @@

export class RNHotspot extends PureComponent {
static propTypes = {
componentRefs: PropTypes.array.isRequired,
};
constructor(props) {

@@ -62,2 +67,3 @@ super(props);

const { hotspots } = this.state;
const { componentRefs, ...otherProps } = this.props;

@@ -75,2 +81,3 @@ if (!hotspots) {

onPress={this.onPress}
{...otherProps}
/>

@@ -77,0 +84,0 @@ );

@@ -5,6 +5,2 @@ import React, { PureComponent } from 'react';

// https://github.com/facebook/react-native/issues/8968#issuecomment-314322836
// Android currently has a limitation where the parent component will restrict the full radius
// of the pulse.
export class Pulse extends PureComponent {

@@ -11,0 +7,0 @@ static propTypes = {

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