react-iframe
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -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) |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
325830
50