Download static/src/components/buttons/ButtonComponent.vue from aletrn/samgis: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/spaces/aletrn/samgis/resolve/main/static/src/components/buttons/ButtonComponent.vue
- Command line
-
hf download hf://spaces/aletrn/samgis/static/src/components/buttons/ButtonComponent.vue
-
curl -L -o ButtonComponent.vue https://huggingface.co/spaces/aletrn/samgis/resolve/main/static/src/components/buttons/ButtonComponent.vue
208 Bytes
| <template> | |
| <button class="inline-flex items-center p-2" @click="props.click"> | |
| <slot></slot> | |
| </button> | |
| </template> | |
| <script setup lang="ts"> | |
| const props = defineProps<{ | |
| click: Function | |
| }>() | |
| </script> |