diff --git a/playground/app/pages/components/file-upload.vue b/playground/app/pages/components/file-upload.vue index 52f8712b..da081b73 100644 --- a/playground/app/pages/components/file-upload.vue +++ b/playground/app/pages/components/file-upload.vue @@ -5,6 +5,8 @@ import theme from '#build/ui/file-upload' const sizes = Object.keys(theme.variants.size) as Array +const size = ref('md') + const MAX_FILE_SIZE = 2 * 1024 * 1024 // 2MB const MIN_DIMENSIONS = { width: 200, height: 200 } const MAX_DIMENSIONS = { width: 4096, height: 4096 } @@ -70,9 +72,13 @@ async function onSubmit(event: FormSubmitEvent) {