Download apps/readest-app/src/components/DropIndicator.tsx from echodict/readest: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/echodict/readest/resolve/main/apps/readest-app/src/components/DropIndicator.tsx
- Command line
-
hf download hf://datasets/echodict/readest/apps/readest-app/src/components/DropIndicator.tsx
-
curl -L -o DropIndicator.tsx https://huggingface.co/datasets/echodict/readest/resolve/main/apps/readest-app/src/components/DropIndicator.tsx
575 Bytes
| import React from 'react'; | |
| import { useTranslation } from '@/hooks/useTranslation'; | |
| import { HiArrowDownTray } from 'react-icons/hi2'; | |
| const DropIndicator: React.FC = () => { | |
| const _ = useTranslation(); | |
| return ( | |
| <> | |
| <div className='drag-overlay'></div> | |
| <div className='drop-indicator'> | |
| <div className='flex flex-col items-center justify-center'> | |
| <HiArrowDownTray className='h-12 w-12' /> | |
| <p className='mt-2 font-medium'>{_('Drop to Import Books')}</p> | |
| </div> | |
| </div> | |
| </> | |
| ); | |
| }; | |
| export default DropIndicator; | |