1.0.8 • Published 1 year ago

basic-custom-popup v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Introdutcion

A basic reactjs popup component.

Install

npm i popup-simple

Usage

import { CustomPopup } from "../components/custom_popup/customPopup.jsx";

        <CustomPopup
            content={<p>Testing</p>}
            buttonText={'popup'}
            buttonAction={() => { console.log('test') }}
            popupbuttonText={'Ok'}
            transparent={true} />

Options

content : content to be shown in popup.\ buttonText : String to be shown on button.\ popupbuttonText : String to be shown on popup button.\ transparent : boolean value to set whether to grey out background screen or not.

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago