1.0.6 • Published 4 years ago

react-popup-bulma v1.0.6

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

React-Popup-Bulma

This is a popup component for React library, using Bulma CSS framework. Please import Bulma before implementing.

1. Import Bulma:

You can import Bulma with the following options

  • With npm:

npm install bulma

2. Usage

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>
  )
}
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago