Download client/src/components/Chat/Input/TextareaHeader.tsx from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 617 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Chat/Input/TextareaHeader.tsx
- Command line
-
hf download hf://spaces/Zhitomir/chat/client/src/components/Chat/Input/TextareaHeader.tsx
-
curl -L -o TextareaHeader.tsx https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Chat/Input/TextareaHeader.tsx
617 Bytes
| 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-primary-contrast"> | |
| <AddedConvo addedConvo={addedConvo} setAddedConvo={setAddedConvo} /> | |
| </div> | |
| ); | |
| } | |