Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-iframe

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-iframe - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="1.0.9"></a>
## [1.0.9](https://github.com/svenanders/react-iframe/compare/v1.0.8...v1.0.9) (2017-11-07)
<a name="1.0.8"></a>

@@ -7,0 +12,0 @@ ## [1.0.8](https://github.com/svenanders/react-iframe/compare/v0.0.4...v1.0.8) (2017-11-07)

2

package.json
{
"name": "react-iframe",
"version": "1.0.8",
"version": "1.0.9",
"description": "Easy iframes with react",

@@ -5,0 +5,0 @@ "main": "index.min.js",

@@ -5,4 +5,2 @@ # React Iframe

Total component weight: 2.58 KB
![Youtube in an iframe](screenshot.PNG)

@@ -16,2 +14,4 @@

height="450px"
id="myId",
className="myClassname",
display="initial"

@@ -23,13 +23,19 @@ position="relative"

**position** - *string* defaults to "absolute".
**url** **(required)** - *string* the iframe url
**display** - *string* defaults to "block"
**position** _(optional)_ - *string* defaults to "absolute".
**height** - *string* (1px > any number above 0, or 1% to 100%)
**id** _(optional)_ - *string* if set, adds the id parameter with the given value.
**width** - *string* (1px > any number above 0, or 1% to 100%)
**className** _(optional)_ - *string* if set, adds the class parameter with the given value.
**allowFullScreen** - if set, applies the allowFullScreen param
**display** _(optional)_ - *string* defaults to "block"
**styles** - add any additional styles here. Will (intentionally) override any of the props
**height** _(optional)_ - *string* (1px > any number above 0, or 1% to 100%)
**width** _(optional)_ - *string* (1px > any number above 0, or 1% to 100%)
**allowFullScreen** _(optional)_ - if set, applies the allowFullScreen param
**styles** _(optional)_ - add any additional styles here. Will (intentionally) override any of the props
above. For instance:

@@ -40,2 +46,4 @@

width="100%"
id="myId",
className="myClassname",
height="100%"

@@ -42,0 +50,0 @@ styles={{height: "25px"}}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc