export default function PreviewPanel({ html }: { html: string }) {
  return (
    <div className="h-full bg-gray-900">
      <iframe
        srcDoc={html}
        className="w-full h-full border-none"
        sandbox="allow-scripts allow-same-origin"
      />
    </div>
  );
}
