mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
* style: update Assistant builder * fix(Eng): re-introduce old file_search info message * feat: new OGDialogTemplate; style: imporved tools + actions dialogs * style: fix alignment issue for delete tool dialog * chore: import order --------- Co-authored-by: Danny Avila <danny@librechat.ai>
17 lines
419 B
TypeScript
17 lines
419 B
TypeScript
import React from 'react';
|
|
import { CrossIcon, TrashIcon } from '~/components/svg';
|
|
import { Button } from '~/components/ui';
|
|
|
|
type DeleteIconButtonProps = {
|
|
onClick: () => void;
|
|
};
|
|
|
|
export default function DeleteIconButton({ onClick }: DeleteIconButtonProps) {
|
|
return (
|
|
<div className="w-fit">
|
|
<Button className="bg-red-400 p-3" onClick={onClick}>
|
|
<TrashIcon />
|
|
</Button>
|
|
</div>
|
|
);
|
|
}
|