reactplosive-modal
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "reactplosive-modal", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple React modal component with an explosion effect ", | ||
@@ -5,0 +5,0 @@ "main": "index.tsx", |
# 🔥 Reactplosive Modal | ||
> A simple React modal component with an explosion effect | ||
<br /> | ||
![NPM License](https://img.shields.io/npm/v/reactplosive-modal) | ||
![NPM License](https://img.shields.io/npm/l/reactplosive-modal) | ||
<br /> | ||
## Install | ||
## ⏬ Install | ||
@@ -12,12 +17,7 @@ ```js | ||
``` | ||
```js | ||
yarn add reactplosive-modal | ||
``` | ||
## Usage | ||
## 🪡 Usage | ||
```js | ||
import ReactplosiveModal from "reactplosive-modal" | ||
import ReactplosiveModal from "reactplosive-modal"; | ||
``` | ||
@@ -43,18 +43,17 @@ | ||
## ⚙️ Props | ||
## Props | ||
```js | ||
type Props = { | ||
title?: ReactNode; | ||
children: ReactNode; | ||
isVisible: boolean; | ||
width?: string; | ||
onClose: (visibility: boolean) => void; | ||
outsideClickEnabled?: boolean; | ||
{ | ||
title?: ReactNode, | ||
children: ReactNode, | ||
isVisible: boolean, | ||
width?: string, // default 500px | ||
onClose: (visibility: boolean) => void, | ||
outsideClickEnabled?: boolean, // default true | ||
}; | ||
``` | ||
## License | ||
## ©️ License | ||
Licensed under MIT |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
859705
58