A basic reactjs popup component.
npm i popup-simple
import { CustomPopup } from "../components/custom_popup/customPopup.jsx";
<CustomPopup
content={<p>Testing</p>}
buttonText={'popup'}
buttonAction={() => { console.log('test') }}
popupbuttonText={'Ok'}
transparent={true} />
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.