mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-20 21:01:36 +03:00
1d7bc8a5bc
* remove duplicate import * 🚧 add new linter configuration * 🧑💻 add and run prettier * 🐛 add babel parser for linter * 🧑💻 add lint-fix command * 🚨 use lint-fix * 🚨 remove 'FC' as a type. Use const and JSX.Element * 🚨 enforce arrow function rule from linter * 🔥 delete unused file * 🚨 adding /* eslint-disable */ in failing files * 💩 add ts-expect-error to Victory components
12 lines
412 B
TypeScript
12 lines
412 B
TypeScript
import Link from "next/link";
|
|
import { BsPlusSquare } from "react-icons/bs";
|
|
|
|
export const NewChatButton = (): JSX.Element => (
|
|
<Link
|
|
href="/chat"
|
|
className="px-4 py-2 mx-4 my-2 border border-primary bg-white dark:bg-black hover:text-white hover:bg-primary shadow-lg rounded-lg flex items-center justify-center sticky top-2 z-20"
|
|
>
|
|
<BsPlusSquare className="h-6 w-6 mr-2" /> New Chat
|
|
</Link>
|
|
);
|