mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-24 03:14:08 +01:00
13 lines
355 B
TypeScript
13 lines
355 B
TypeScript
|
|
import type { TGenButtonProps } from '~/common';
|
||
|
|
import { RegenerateIcon } from '~/components/svg';
|
||
|
|
import Button from './Button';
|
||
|
|
|
||
|
|
export default function Regenerate({ onClick }: TGenButtonProps) {
|
||
|
|
return (
|
||
|
|
<Button onClick={onClick}>
|
||
|
|
<RegenerateIcon className="h-3 w-3 flex-shrink-0 text-gray-600/90" />
|
||
|
|
Regenerate
|
||
|
|
</Button>
|
||
|
|
);
|
||
|
|
}
|