perplexica/ui/components/EmptyChat.tsx

19 lines
489 B
TypeScript
Raw Normal View History

2024-04-09 10:51:05 +00:00
import EmptyChatMessageInput from './EmptyChatMessageInput';
const EmptyChat = ({
sendMessage,
}: {
sendMessage: (message: string) => void;
}) => {
return (
<div className="flex flex-col items-center justify-center min-h-screen max-w-screen-sm mx-auto p-2 space-y-8">
<h2 className="text-white/70 text-3xl font-medium -mt-8">
Research begins here.
</h2>
<EmptyChatMessageInput sendMessage={sendMessage} />
</div>
);
};
export default EmptyChat;