File size: 456 Bytes
f0743f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import { StopGeneratingIcon } from '@librechat/client';
import type { TGenButtonProps } from '~/common';
import { useLocalize } from '~/hooks';
import Button from './Button';
export default function Stop({ onClick }: TGenButtonProps) {
const localize = useLocalize();
return (
<Button type="stop" onClick={onClick}>
<StopGeneratingIcon className="text-gray-600/90 dark:text-gray-400" />
{localize('com_ui_stop')}
</Button>
);
}
|