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

react-hook-notification

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-notification - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

dist/presentation/components/Notification/index.js

@@ -24,4 +24,4 @@ import React, { memo } from 'react';

});
return (React.createElement(Container, Object.assign({ ref: setElementRef, theme: themeSelected, key: id, role: type, onClick: () => clickIsAllowed && onRemove(id), drag: draggable ? 'x' : false, dragSnapToOrigin: true, onDragEnd: onDragEnd, onDragStart: onDragStart, style: { x, opacity } }, containerAnimations),
withIcon && (React.createElement(IconContainer, { "aria-label": type },
return (React.createElement(Container, Object.assign({ ref: setElementRef, theme: themeSelected, key: id, role: "alert", onClick: () => clickIsAllowed && onRemove(id), drag: draggable ? 'x' : false, dragSnapToOrigin: true, onDragEnd: onDragEnd, onDragStart: onDragStart, style: { x, opacity } }, containerAnimations),
withIcon && (React.createElement(IconContainer, { "aria-label": `Icon ${type}` },
React.createElement(Icon, { type: type, size: 20, color: colorsIcon[theme][type] }))),

@@ -28,0 +28,0 @@ showButtonClose && (React.createElement(ButtonClose, { type: "button", color: buttonColor, onClick: () => onRemove(id), "aria-label": "Close notification" },

@@ -101,3 +101,2 @@ import { styled } from '@stitches/react';

fontSize: 0,
outline: 'none',
border: 'none',

@@ -104,0 +103,0 @@ cursor: 'pointer',

{
"version": "3.0.4",
"version": "3.0.5",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/main/index.js",

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