dgtek-popup
This component is designed to be utilized in dgtek.net projects only.
It should not be used outside the dgtek.net and landing pages of dgtek.net
Install the component
yarn add dgtek-popup
Add with script tag
(Not recommended)
Import the component and it's styles
It'll be the global component Popup
Node.js
const Popup = const PopupStyles =
Usage
Success (form has been submitted)
Error (contact form error)
Disabled (contact form submission is disabled)
Any other message
You can send any info to component Popup through the prop data
where
popupContent: header: '...' color: '#000' text: '...'