Skip to content

lucified/lucify-iframe-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React component for auto-resizing iframes

React component for embedding auto-resizing iframes, based on iframe-resizer version 2.8.10 by David Bradshaw.

Pre-release notice

This is a pre-release of a package belonging to the Lucify platform. It has been published merely to satisfy dependencies of other packages. Any APIs may change without notice.

Usage

import IFrameEmbed from 'lucify-iframe-embed';
// Use IFrameEmbed as regular React Component

The only React prop is url, which is the URL for the page to be embedded. The page pointed by url should include iframeResizer.contentWindow.min.js from the iframe-resizer project for automatic resizing to work.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published