Skip to content

skarpyak/react-iframe

 
 

Repository files navigation

React IFrame

Simple React component for including an iframed page.

Usage

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

<Iframe url="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

About

Simple solution for using iframes in React

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.9%
  • Makefile 18.5%
  • Shell 8.6%