MCPcopy Create free account
hub / github.com/msgbyte/tailchat / Webview

Function Webview

client/web/src/components/Webview.tsx:58–62  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

56 * 网页渲染容器
57 */
58export const Webview: React.FC<WebviewProps> = (props) => {
59 const KernelComponent = useMemo(() => getWebviewKernel(), []);
60
61 return <KernelComponent className="w-full h-full" src={props.url} />;
62};
63Webview.displayName = 'Webview';
64
65/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected