lightbox.js-react
Version:
React lightbox with animation and customization options
1 lines • 839 B
Source Map (JSON)
{"version":3,"sources":["../lib/index.ts"],"sourcesContent":["import axios from \"axios\";\r\nexport const initLightboxJS = (licenseKey: string, plan_type: string) => {\r\n var body = {\r\n license_key: licenseKey,\r\n plan_type: plan_type,\r\n };\r\n \r\n axios.post('https://lightboxjs-server.herokuapp.com/license', body)\r\n .then(function (response) {\r\n \r\n let licenseKeyValid = response.data.license_valid;\r\n \r\n })\r\n .catch(function (error) {\r\n });\r\n \r\n};\r\n\r\nexport * from \"./components\";"],"mappings":";;;;;;;;;;;;AAAA,OAAO,WAAW;AACX,IAAM,iBAAiB,CAAC,YAAoB,cAAsB;AACrE,MAAI,OAAO;AAAA,IACT,aAAa;AAAA,IACb;AAAA,EACF;AAEA,QAAM,KAAK,mDAAmD,IAAI,EAC/D,KAAK,SAAU,UAAU;AAExB,QAAI,kBAAkB,SAAS,KAAK;AAAA,EAEtC,CAAC,EACA,MAAM,SAAU,OAAO;AAAA,EACxB,CAAC;AAEP;","names":[]}