quivr/frontend/app/chat/components/ChatMessages/ChatInput/ConfigButton.tsx
Zineb El Bachiri 1d7bc8a5bc
Devx/add linter rules (#331)
* 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
2023-06-15 11:52:46 +02:00

16 lines
390 B
TypeScript

"use client";
import Link from "next/link";
import { MdSettings } from "react-icons/md";
import Button from "@/lib/components/ui/Button";
export const ConfigButton = (): JSX.Element => {
return (
<Link href={"/config"}>
<Button className="p-2 sm:px-3" variant={"tertiary"}>
<MdSettings className="text-lg sm:text-xl lg:text-2xl" />
</Button>
</Link>
);
};