# modal-kayvon

> This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

Latest version **0.1.4** (published 2023-12-13) · 0 weekly downloads

## Install

```sh
npm install modal-kayvon
pnpm add modal-kayvon
yarn add modal-kayvon
bun add modal-kayvon
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2023-12-13 |
| First published | 2023-11-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kayvon |
| Maintainers | kayv |
| Keywords | react, components, ui, modal, dialog |

## Links

- npm: https://www.npmjs.com/package/modal-kayvon
- npm.io page: https://npm.io/package/modal-kayvon

## Dependencies (8)

- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.17.0
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 0.1.4 (latest) — 2023-12-13
- 0.1.3 — 2023-12-13
- 0.1.2 — 2023-12-09
- 0.1.1 — 2023-11-28
- 0.1.0 — 2023-11-28

## README

# modal-kayvon

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

# Note
    Modal dialogs
## Install
```
npm install modal-kayvon
or
yarn add modal-kayvon
```
## Usage
```
import React, { useState } from 'react';
import { Modal } from 'modal-kayvon';


export default function Example(){
    
    const [isModalOpen, setIsmodalOpen] = useState(false)

    function openModal(){
        setIsmodalOpen(true)
    }

    function closeModal(){
        setIsmodalOpen(false)
    }
    
    return(
        <div>
            <button onClick={openModal}> Open </button>
            {isModalOpen && (
                closeModal={closeModal}
                messageModal='Congratulations!'
            )}
        </div>
    )
}

```

---
_Source: https://npm.io/package/modal-kayvon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
