Socket
Socket
Sign inDemoInstall

popupz

Package Overview
Dependencies
6
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.2 to 3.2.3

2

package.json
{
"name": "popupz",
"version": "3.2.2",
"version": "3.2.3",
"description": "A simple and customizable popup notification library for React applications.",

@@ -5,0 +5,0 @@ "main": "src/index.jsx",

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

return (
<PopzProvider position='tl'>
<PopzProvider position='tr'>
<AppContent />

@@ -23,3 +23,3 @@ </PopzProvider>

const handleSubmit3 = () => {
popz('dark','warning','Notice all the errors you see in the console. This tells you there are type errors in your codebase Also notice that no index.js is created anymore', 'true');
popz('dark','warning','Notice all the errors you see in the console. This tells you there tice all the errors you see in the console. This tells you there are type errors in your codebase Also notice that no index.js is created anymore', 'true');
};

@@ -26,0 +26,0 @@ const handleSubmit4 = () => {

@@ -35,3 +35,3 @@ import React, { createContext, useContext, useEffect, useState } from 'react';

{popzQueue.map((pop) => (
<div key={pop.id} className='popzSpace'>
<div key={pop.id} className='popzSpace' style={{ float: (dir === 'tl' || dir === 'bl') ? 'left' : 'right' }}>
<Popz theme={pop.theme} type={pop.type} message={pop.message} progressBar={pop.progressBar} direction={dir}/>

@@ -38,0 +38,0 @@ </div>

@@ -65,3 +65,3 @@ import React, { useState, useEffect } from 'react';

</span>
<span>{message}</span>
<span className='message'>{message}</span>
</div>

@@ -68,0 +68,0 @@ {(progressBar === 'true') && <ProgressBar color={color} bgcolor={bgcolor}/>}

Sorry, the diff of this file is not supported yet

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