UNPKG

cdbreact

Version:

Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps

42 lines (41 loc) 1.32 kB
/// <reference types="react" /> import PropTypes from "prop-types"; interface Props { src: string; allowFullScreen?: boolean; className?: string; height?: any; id?: string; name?: string; onLoad?: Function; onMouseOut?: Function; onMouseOver?: Function; ratio?: any; sandbox?: string; iframe?: any; styles?: object; title?: string; width?: any; style?: any; } declare const Iframe: { (props: Props): JSX.Element; propTypes: { src: PropTypes.Validator<string>; allowFullScreen: PropTypes.Requireable<boolean>; className: PropTypes.Requireable<string>; height: PropTypes.Requireable<number>; id: PropTypes.Requireable<string>; name: PropTypes.Requireable<string>; onLoad: PropTypes.Requireable<(...args: any[]) => any>; onMouseOut: PropTypes.Requireable<(...args: any[]) => any>; onMouseOver: PropTypes.Requireable<(...args: any[]) => any>; ratio: PropTypes.Requireable<string>; sandbox: PropTypes.Requireable<string>; styles: PropTypes.Requireable<object>; title: PropTypes.Requireable<string>; width: PropTypes.Requireable<number>; }; }; export default Iframe; export { Iframe as CDBIframe };