IFrame
An iFrame component.
Options
- src |
string (required)
: source URL. Default:none
. - fullscreen |
boolean
: controls whether to display the iFrame in fullscreen mode. Default:false
. - title |
string
: iFrame title. Default:'An iFrame'
. - width |
number
: iFrame width (in px). Default:900
. - height |
number
: iFrame height (in px). Default:600
. - className |
string
: class name. Default:''
. - style |
object
: CSS inline styles. Default:{}
.
Examples
- Minimal
- Controlled Size
- Custom CSS
Live Editor
Result
ReferenceError: Provider is not defined