Skip to main content

Iframe

An iframe can be used as the target frame for a link.

Usage

import React from 'react';
import { Iframe } from 'qdm-component-library';

function App() {
return (
<Iframe src={'https://www.youtube.com/embed/tgbNymZ7vqY'}/>
);
}
export default App;

Reference

Props

className

props for providing classname to Iframe component string

id

props for providing id to Iframe component string

src

props for providing src to sent url Iframe component string

inLineStyles

props give addition props to the Iframe Component type Object