# react-iframe **Repository Path**: uiw/react-iframe ## Basic Information - **Project Name**: react-iframe - **Description**: 这个组件允许你将整个React应用程序或每个组件包装在一个 ); } ``` ## `head` The `head` prop is a dom node that gets inserted before the children of the frame. ```jsx mdx:preview import React from 'react'; import IFrame from '@uiw/react-iframe'; const head = ( ); export default function Demo() { return ( ); } ``` ## `initialContent` The `initialContent` props is the initial html injected into frame. It is only injected once, but allows you to insert any html into the frame (e.g. a [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head) tag, [`