Spaces:
Paused
Paused
Download components/Settings/Key.tsx from matthoffner/chatbot: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/spaces/matthoffner/chatbot/resolve/main/components/Settings/Key.tsx
- Command line
-
hf download hf://spaces/matthoffner/chatbot/components/Settings/Key.tsx
-
curl -L -o Key.tsx https://huggingface.co/spaces/matthoffner/chatbot/resolve/main/components/Settings/Key.tsx
410 Bytes
| import { IconCheck, IconKey, IconX } from '@tabler/icons-react'; | |
| import { FC, KeyboardEvent, useEffect, useRef, useState } from 'react'; | |
| import { useTranslation } from 'next-i18next'; | |
| import { SidebarButton } from '../Sidebar/SidebarButton'; | |
| interface Props { | |
| apiKey: string; | |
| onApiKeyChange: (apiKey: string) => void; | |
| } | |
| export const Key: FC<Props> = ({ apiKey, onApiKeyChange }) => { | |
| return null; | |
| }; | |