"use client"; import { ChevronLeft, ChevronRight, Globe, RotateCw, TerminalSquare, UnfoldVertical, } from "lucide-react"; export default function PreviewWindow({ collapsed, open, }: { collapsed: boolean; open: () => void; }) { return ( <>
Preview localhost:3000
{collapsed ? ( ) : ( <> console.log("Terminal")}> console.log("Back")}> console.log("Forward")}> console.log("Reload")}> )}
{collapsed ? null : (
)} ); } function PreviewButton({ children, onClick, }: { children: React.ReactNode; onClick: () => void; }) { return (
{children}
); }