@tryferos/popups
Advanced tools
Comparing version 1.0.1 to 1.0.2
import React, { ReactNode, ComponentProps } from 'react'; | ||
declare const PopupElement: React.ForwardRefExoticComponent<{ | ||
type Animations = { | ||
enabled?: boolean; | ||
duration?: number; | ||
}; | ||
type PopupElementProps = { | ||
children: ReactNode; | ||
popups: Array<string>; | ||
} & React.RefAttributes<HTMLDivElement>>; | ||
darkMode?: boolean; | ||
animations?: Animations; | ||
}; | ||
declare const PopupElement: React.ForwardRefExoticComponent<PopupElementProps & React.RefAttributes<HTMLDivElement>>; | ||
@@ -8,0 +15,0 @@ type PopupType = (ComponentProps<typeof PopupElement>['popups']) extends Array<infer Item> ? Item : never; |
{ | ||
"name": "@tryferos/popups", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Provides you with popup components to use in your React app.", | ||
@@ -8,2 +8,7 @@ "main": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"keywords": [ | ||
"react", | ||
"popup", | ||
"modal", | ||
"tooltip"], | ||
"repository": { | ||
@@ -10,0 +15,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
249619
960