modal-gen
Creates a Modal so you dont have to!
usage
const modalgen = require('modal-gen')
modalgen({
cid: 'mymodal', // Your Modal's customId
title: 'My Modal' // The big text at the top
}, [{ // You need an array with atleast one item
cid: 'mymodalcomponent', // The compoenents customId
label: 'Input here!!!', // The text at the top of the element
style: 'PARAGRAPH', // the style (can be 'PARAGRAPH' or 'SHORT')
required: true, // input needed? in this case yes
max: 3000, // maximum input length
min: 100, // minimum input length
placeholder: 'Lorem ipsum dolor sit amet' // placeholder text
}])