mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-25 20:58:50 +01:00
* feat: Refactor ChatForm and StopButton components for improved styling and localization * feat: Refactor AudioRecorder, ChatForm, AttachFile, and SendButton components for improved styling and layout * feat: Add RevokeAllKeys component and update styling for buttons and inputs * feat: Refactor ClearChats component and update ClearConvos functionality for improved clarity and user experience * feat: Remove ClearConvos component and update related imports and functionality in Avatar and DeleteCacheButton components * feat: Rename DeleteCacheButton to DeleteCache and update related imports; enhance confirmation message in localization * feat: Update ChatForm layout for RTL support and improve component structure * feat: Adjust ChatForm layout for improved RTL support and alignment * feat: Refactor Bookmark components to use new UI elements and improve styling * feat: Update FileSearch and ShareAgent components for improved button styling and layout * feat: Update ChatForm and TextareaHeader styles for improved UI consistency * feat: Refactor Nav components for improved styling and layout adjustments * feat: Update button sizes and padding for improved UI consistency across chat components * feat: Remove ClearChatsButton test file as part of code cleanup
20 lines
614 B
TypeScript
20 lines
614 B
TypeScript
import AddedConvo from './AddedConvo';
|
|
import type { TConversation } from 'librechat-data-provider';
|
|
import type { SetterOrUpdater } from 'recoil';
|
|
|
|
export default function TextareaHeader({
|
|
addedConvo,
|
|
setAddedConvo,
|
|
}: {
|
|
addedConvo: TConversation | null;
|
|
setAddedConvo: SetterOrUpdater<TConversation | null>;
|
|
}) {
|
|
if (!addedConvo) {
|
|
return null;
|
|
}
|
|
return (
|
|
<div className="divide-token-border-light m-1.5 flex flex-col divide-y overflow-hidden rounded-b-lg rounded-t-2xl bg-surface-secondary-alt">
|
|
<AddedConvo addedConvo={addedConvo} setAddedConvo={setAddedConvo} />
|
|
</div>
|
|
);
|
|
}
|