Download web/src/shell/PanelToggleIcon.tsx from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/623acbc433f972703d46dcda190a3d39c4064fa7/web/src/shell/PanelToggleIcon.tsx
- Command line
-
hf download hf://spaces/fsanyoto/loopable@623acbc433f972703d46dcda190a3d39c4064fa7/web/src/shell/PanelToggleIcon.tsx
-
curl -L -o PanelToggleIcon.tsx https://huggingface.co/spaces/fsanyoto/loopable/resolve/623acbc433f972703d46dcda190a3d39c4064fa7/web/src/shell/PanelToggleIcon.tsx
598 Bytes
| import { SidebarSimple } from "@phosphor-icons/react/dist/csr/SidebarSimple"; | |
| export interface PanelToggleIconProps { | |
| open: boolean; | |
| side?: "left" | "right"; | |
| } | |
| /** The filled pane follows the panel state without changing the button geometry. */ | |
| export default function PanelToggleIcon({ open, side = "left" }: PanelToggleIconProps) { | |
| return ( | |
| <span className="panel-toggle-icon" data-open={open} data-side={side} aria-hidden="true"> | |
| <SidebarSimple size={16} weight="regular" /> | |
| <SidebarSimple size={16} weight="fill" className="panel-toggle-icon-fill" /> | |
| </span> | |
| ); | |
| } | |