Spaces:
Build error
Build error
Download frontend/src/lib/Buttons/DragButton.svelte from ejfox/stable-diffusion-multiplayer: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/ejfox/stable-diffusion-multiplayer/resolve/main/frontend/src/lib/Buttons/DragButton.svelte
- Command line
-
hf download hf://spaces/ejfox/stable-diffusion-multiplayer/frontend/src/lib/Buttons/DragButton.svelte
-
curl -L -o DragButton.svelte https://huggingface.co/spaces/ejfox/stable-diffusion-multiplayer/resolve/main/frontend/src/lib/Buttons/DragButton.svelte
411 Bytes
| <script lang="ts"> | |
| import Move from '$lib/Icons/Move.svelte'; | |
| export let isActive = false; | |
| export let isLoading = false; | |
| export let className = ''; | |
| </script> | |
| <button | |
| on:click | |
| disabled={isLoading} | |
| class="{className} shadow-lg bg-white rounded-full disabled:opacity-50 {isActive | |
| ? 'text-blue-700' | |
| : 'text-gray-800'}" | |
| title="Drag to Move" | |
| > | |
| <Move /> | |
| </button> | |
| <style lang="postcss" scoped> | |
| </style> | |