basic-custom-popup

1.0.8 • Public • Published

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.

/basic-custom-popup/

    Package Sidebar

    Install

    npm i basic-custom-popup

    Weekly Downloads

    5

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    10.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • srinivasan_venkatesan