Spaces:
Configuration error
Configuration error
Download frontend/src/components/features/file-explorer/folder-icon.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/features/file-explorer/folder-icon.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/features/file-explorer/folder-icon.tsx
-
curl -L -o folder-icon.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/features/file-explorer/folder-icon.tsx
303 Bytes
| import { FaFolder, FaFolderOpen } from "react-icons/fa"; | |
| interface FolderIconProps { | |
| isOpen: boolean; | |
| } | |
| export function FolderIcon({ isOpen }: FolderIconProps) { | |
| return isOpen ? ( | |
| <FaFolderOpen color="D9D3D0" className="icon" /> | |
| ) : ( | |
| <FaFolder color="D9D3D0" className="icon" /> | |
| ); | |
| } | |