rowboat/apps/rowboat/app/new-chat-link.tsx
2025-01-13 15:31:50 +05:30

10 lines
No EOL
290 B
TypeScript

import Link from "next/link";
export function NewChatLink({demo}: {demo: string}) {
return <Link
className="mt-2 text-black flex rounded-lg border border-gray-400 px-4 py-2 disabled:text-gray-400"
href={`/new/${demo}`}
>
Start new chat &rarr;
</Link>
}