react-famewall 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# react-famewall
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/react-famewall)
|
|
4
|
+
|
|
3
5
|
> React component for Famewall Embeds
|
|
4
6
|
|
|
5
7
|
Highlight and display social media mentions as beautiful testimonials. Enjoy the fame you receive from customers by [signing up here](https://famewall.io).
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["import React from 'react'\nimport IframeResizer from 'iframe-resizer-react'\nimport {nanoid} from 'nanoid'\n\nconst FamewallEmbed = ({ wallUrl }) => {\n if (!wallUrl) {\n console.error('Wall URL is required')\n return null\n }\n const embedId = nanoid()\n\n return (\n <IframeResizer\n title={`Famewall Embed ${wallUrl}`}\n id={embedId}\n src={`https://embed.famewall.io/wall/${wallUrl}`}\n frameBorder='0'\n scrolling=
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["import React from 'react'\r\nimport IframeResizer from 'iframe-resizer-react'\r\nimport {nanoid} from 'nanoid'\r\n\r\nconst FamewallEmbed = ({ wallUrl }) => {\r\n if (!wallUrl) {\r\n console.error('Wall URL is required')\r\n return null\r\n }\r\n const embedId = nanoid()\r\n\r\n return (\r\n <IframeResizer\r\n title={`Famewall Embed ${wallUrl}`}\r\n id={embedId}\r\n src={`https://embed.famewall.io/wall/${wallUrl}`}\r\n frameBorder='0'\r\n scrolling={false}\r\n width='100%'\r\n style={{\r\n border: 0\r\n }}\r\n />\r\n )\r\n}\r\n\r\nexport default FamewallEmbed\r\n"],"names":["FamewallEmbed","wallUrl","console","error","embedId","nanoid","border"],"mappings":";;;;;;AAIA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,OAAiB;AAAA,MAAdC,OAAc,QAAdA,OAAc;;AACrC,MAAI,CAACA,OAAL,EAAc;AACZC,IAAAA,OAAO,CAACC,KAAR,CAAc,sBAAd;AACA,WAAO,IAAP;AACD;;AACD,MAAMC,OAAO,GAAGC,aAAM,EAAtB;AAEA,sBACE,oBAAC,aAAD;AACE,IAAA,KAAK,sBAAoBJ,OAD3B;AAEE,IAAA,EAAE,EAAEG,OAFN;AAGE,IAAA,GAAG,sCAAoCH,OAHzC;AAIE,IAAA,WAAW,EAAC,GAJd;AAKE,IAAA,SAAS,EAAE,KALb;AAME,IAAA,KAAK,EAAC,MANR;AAOE,IAAA,KAAK,EAAE;AACLK,MAAAA,MAAM,EAAE;AADH;AAPT,IADF;AAaD,CApBD;;;;"}
|
package/dist/index.modern.js
CHANGED
package/dist/index.modern.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.modern.js","sources":["../src/index.js"],"sourcesContent":["import React from 'react'\nimport IframeResizer from 'iframe-resizer-react'\nimport {nanoid} from 'nanoid'\n\nconst FamewallEmbed = ({ wallUrl }) => {\n if (!wallUrl) {\n console.error('Wall URL is required')\n return null\n }\n const embedId = nanoid()\n\n return (\n <IframeResizer\n title={`Famewall Embed ${wallUrl}`}\n id={embedId}\n src={`https://embed.famewall.io/wall/${wallUrl}`}\n frameBorder='0'\n scrolling=
|
|
1
|
+
{"version":3,"file":"index.modern.js","sources":["../src/index.js"],"sourcesContent":["import React from 'react'\r\nimport IframeResizer from 'iframe-resizer-react'\r\nimport {nanoid} from 'nanoid'\r\n\r\nconst FamewallEmbed = ({ wallUrl }) => {\r\n if (!wallUrl) {\r\n console.error('Wall URL is required')\r\n return null\r\n }\r\n const embedId = nanoid()\r\n\r\n return (\r\n <IframeResizer\r\n title={`Famewall Embed ${wallUrl}`}\r\n id={embedId}\r\n src={`https://embed.famewall.io/wall/${wallUrl}`}\r\n frameBorder='0'\r\n scrolling={false}\r\n width='100%'\r\n style={{\r\n border: 0\r\n }}\r\n />\r\n )\r\n}\r\n\r\nexport default FamewallEmbed\r\n"],"names":["FamewallEmbed","wallUrl","console","error","embedId","nanoid","border"],"mappings":";;;;AAIA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,OAAiB;AAAA,MAAdC,OAAc,QAAdA,OAAc;;AACrC,MAAI,CAACA,OAAL,EAAc;AACZC,IAAAA,OAAO,CAACC,KAAR,CAAc,sBAAd;AACA,WAAO,IAAP;AACD;;AACD,MAAMC,OAAO,GAAGC,MAAM,EAAtB;AAEA,sBACE,oBAAC,aAAD;AACE,IAAA,KAAK,sBAAoBJ,OAD3B;AAEE,IAAA,EAAE,EAAEG,OAFN;AAGE,IAAA,GAAG,sCAAoCH,OAHzC;AAIE,IAAA,WAAW,EAAC,GAJd;AAKE,IAAA,SAAS,EAAE,KALb;AAME,IAAA,KAAK,EAAC,MANR;AAOE,IAAA,KAAK,EAAE;AACLK,MAAAA,MAAM,EAAE;AADH;AAPT,IADF;AAaD,CApBD;;;;"}
|