1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| import { FC } from "react";
|
| interface Props {
| onReset: () => void;
| }
|
| export const ResetChat: FC<Props> = ({ onReset }) => {
| return (
| <div className="flex flex-row items-center">
| <button
| className="text-sm sm:text-base text-neutral-900 font-semibold rounded-lg px-4 py-2 bg-neutral-200 hover:bg-neutral-300 focus:outline-none focus:ring-1 focus:ring-neutral-300"
| onClick={() => onReset()}
| >
| Reset
| </button>
| </div>
| );
| };
| ;
|
|