Download frontend/src/components/CheckboxButton.vue from CatPtain/web_ppt: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/CatPtain/web_ppt/resolve/main/frontend/src/components/CheckboxButton.vue
- Command line
-
hf download hf://spaces/CatPtain/web_ppt/frontend/src/components/CheckboxButton.vue
-
curl -L -o CheckboxButton.vue https://huggingface.co/spaces/CatPtain/web_ppt/resolve/main/frontend/src/components/CheckboxButton.vue
322 Bytes
| <template> | |
| <Button | |
| :checked="checked" | |
| :disabled="disabled" | |
| type="checkbox" | |
| > | |
| <slot></slot> | |
| </Button> | |
| </template> | |
| <script lang="ts" setup> | |
| import Button from './Button.vue' | |
| withDefaults(defineProps<{ | |
| checked?: boolean | |
| disabled?: boolean | |
| }>(), { | |
| checked: false, | |
| disabled: false, | |
| }) | |
| </script> |