import React, { useState } from 'react'; const BrowserView = () => { const [url, setUrl] = useState(''); const [iframeUrl, setIframeUrl] = useState(''); const handleUrlChange = (e) => { setUrl(e.target.value); }; const handleLoadUrl = () => { if (url.startsWith('http://') || url.startsWith('https://')) { setIframeUrl(url); } else { setIframeUrl('https://' + url); } }; return (

Browser

{iframeUrl && (