Socket
Socket
Sign inDemoInstall

alert-interval-popup

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alert-interval-popup - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

AlertIntervalPopup.module.scss

2

AlertIntervalPopup.js
import React, { useState, useEffect } from 'react';
import styles from './Popup.module.scss';
import styles from './AlertIntervalPopup.module.scss';

@@ -4,0 +4,0 @@ export const AlertIntervalPopup = ({ children, intervaltime=10000, ...rest }) => {

{
"name": "alert-interval-popup",
"version": "1.0.0",
"version": "1.0.1",
"description": "An alert box with pops up after a certain interval of time",
"main": "Popup.js",
"main": "AlertIntervalPopup.js",
"scripts": {

@@ -14,7 +14,3 @@ "test": "echo \"Error: no test specified\" && exit 1"

"author": "shubham prakash",
"license": "ISC",
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
"license": "ISC"
}

@@ -1,2 +0,2 @@

## What is this?
## Introduction
An alert box with pops up after a certain interval of time

@@ -11,8 +11,8 @@

<Popup intervaltime=1000>{children}</Popup>
<AlertIntervalPopup intervaltime=1000>This is an alert interval popup</AlertIntervalPopup>
```
## Props
This takes two props intervaltime and children.
This takes one prop intervaltime.
By default `intervaltime` is set to 10000.
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