@tryferos/popups
Advanced tools
Comparing version 1.0.2 to 1.0.3
import React, { ReactNode, ComponentProps } from 'react'; | ||
type Animations = { | ||
enabled?: boolean; | ||
duration?: number; | ||
}; | ||
type PopupElementProps = { | ||
children: ReactNode; | ||
popups: Array<string>; | ||
darkMode?: boolean; | ||
animations?: Animations; | ||
}; | ||
declare const PopupElement: React.ForwardRefExoticComponent<PopupElementProps & React.RefAttributes<HTMLDivElement>>; | ||
@@ -38,2 +28,13 @@ | ||
export { PopupElement, PopupItem, PopupWrapper, usePopup }; | ||
type Animations = { | ||
enabled?: boolean; | ||
duration?: number; | ||
}; | ||
type PopupElementProps = { | ||
children: ReactNode; | ||
popups: Array<string>; | ||
darkMode?: boolean; | ||
animations?: Animations; | ||
}; | ||
export { PopupElement, type PopupElementProps, PopupItem, PopupWrapper, usePopup }; |
{ | ||
"name": "@tryferos/popups", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Provides you with popup components to use in your React app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -30,3 +30,3 @@ # Search Popup Component | ||
```bash | ||
npm install @tryferos/Popups@1.0.0 | ||
npm install @tryferos/Popups@1.0.3 | ||
``` | ||
@@ -43,3 +43,3 @@ | ||
```bash | ||
npm install @tryferos/Popups@1.0.0 --force | ||
npm install @tryferos/Popups@1.0.3 --force | ||
``` | ||
@@ -46,0 +46,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
249774