Skip to content

Commit f12f1c2

Browse files
Add labelMinFileSizeExceeded and labelMinFileSize in types declaration
1 parent 023373a commit f12f1c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ declare module "filepond" {
77
allowFileSizeValidation?: boolean;
88
/** The minimum size of a file, for instance 5MB or 750KB. */
99
minFileSize?: string | null;
10+
/** Message shown when a small file is dropped. */
11+
labelMinFileSizeExceeded?: string;
12+
/** Message shown when the file size is lower than the {filesize}. {filesize} is replaced with the value of the minFileSize property */
13+
labelMinFileSize?: string;
1014
/** The maximum size of a file, for instance 5MB or 750KB. */
1115
maxFileSize?: string | null;
1216
/** Maximum size of all files in list, same format as maxFileSize. */

0 commit comments

Comments
 (0)