diff --git a/docs/components/fileInput.md b/docs/components/fileInput.md index f6da82fd..d5a08fa2 100644 --- a/docs/components/fileInput.md +++ b/docs/components/fileInput.md @@ -105,3 +105,25 @@ import { FwbFileInput } from 'flowbite-vue' const file = ref(null) ``` + +## Dropzone with custom placeholder + +You can customize the dropzone placeholder text using the `dropzonePlaceholder` slot: + +```vue + + + +``` \ No newline at end of file diff --git a/src/components/FwbFileInput/FwbFileInput.vue b/src/components/FwbFileInput/FwbFileInput.vue index e28f63a0..b8cc29c5 100644 --- a/src/components/FwbFileInput/FwbFileInput.vue +++ b/src/components/FwbFileInput/FwbFileInput.vue @@ -43,8 +43,10 @@

- Click to upload - or drag and drop + + Click to upload + or drag and drop +