Download client/src/components/SidePanel/Files/Panel.tsx from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/SidePanel/Files/Panel.tsx
- Command line
-
hf download hf://spaces/Zhitomir/chat/client/src/components/SidePanel/Files/Panel.tsx
-
curl -L -o Panel.tsx https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/SidePanel/Files/Panel.tsx
415 Bytes
| import type { TFile } from 'librechat-data-provider'; | |
| import { useGetFiles } from '~/data-provider'; | |
| import { columns } from './PanelColumns'; | |
| import DataTable from './PanelTable'; | |
| export default function FilesPanel() { | |
| const { data: files = [] } = useGetFiles<TFile[]>(); | |
| return ( | |
| <div className="h-auto max-w-full overflow-x-hidden"> | |
| <DataTable columns={columns} data={files} /> | |
| </div> | |
| ); | |
| } | |