JSPM

  • Created
  • Published
  • Downloads 92089
  • Score
    100M100P100Q149716F
  • License ISC

Iframes with react

Package Exports

  • react-iframe

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-iframe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React IFrame

Simple React component for including an iframed page.

Usage

var Iframe = require("react-iframe");

<Iframe src="http://www.example.com" [string width, [string height]] />

Optional properties width and height can be sent as either percentage (eg. '100%') or px (eg. '100px');

Demo

Clone and execute npm install & npm run demo