# react-popup-bulma

> A react popup component using bulma css library.

Latest version **1.0.6** (published 2019-12-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-popup-bulma
pnpm add react-popup-bulma
yarn add react-popup-bulma
bun add react-popup-bulma
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2019-12-05 |
| First published | 2019-12-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 135.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zzh |
| Maintainers | zzhzzh |

## Links

- npm: https://www.npmjs.com/package/react-popup-bulma
- npm.io page: https://npm.io/package/react-popup-bulma

## Recent versions

- 1.0.6 (latest) — 2019-12-05
- 1.0.5 — 2019-12-05
- 1.0.4 — 2019-12-04
- 1.0.3 — 2019-12-04
- 1.0.2 — 2019-12-04
- 1.0.1 — 2019-12-04
- 1.0.0 — 2019-12-03

## README

# React-Popup-Bulma

This is a popup component for React library, using [Bulma](https://bulma.io/) CSS framework. Please import Bulma before implementing. 

### 1. Import Bulma:

You can import Bulma with the following options

* With npm:
  
```
npm install bulma
```

* With CDN: 
> https://www.jsdelivr.com/package/npm/bulma

* Download from the repository: 
> https://github.com/jgthms/bulma/tree/master/css

### 2. Usage

```javascript
import Popup from "react-popup-bulma";

const YourComponent = (props) => {

  const payload = {
    title: "Delete Item",
    content: "Are you sure you want to delete?",
    buttonText: "Confirm",
    action: delete,
    actionParams: 123
  }

  const delete = (id) => {
    // ...
  }

  return (
    <div>
      <Popup payload={payload}>
    </div>
  )
}
```

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