mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
46afcf8c8d
commit
43ab62e0a5
3 changed files with 57 additions and 17 deletions
15
components/lib/fileupload/FileUpload.d.ts
vendored
15
components/lib/fileupload/FileUpload.d.ts
vendored
|
@ -236,17 +236,14 @@ export interface FileUploadProps {
|
|||
showCancelButton?: boolean | undefined;
|
||||
/**
|
||||
* Icon of the choose button.
|
||||
* @defaultValue pi pi-fw pi-plus
|
||||
*/
|
||||
chooseIcon?: string | undefined;
|
||||
/**
|
||||
* Icon of the upload button.
|
||||
* @defaultValue pi pi-fw pi-upload
|
||||
*/
|
||||
uploadIcon?: string | undefined;
|
||||
/**
|
||||
* Icon of the cancel button.
|
||||
* @defaultValue pi pi-fw pi-times
|
||||
*/
|
||||
cancelIcon?: string | undefined;
|
||||
/**
|
||||
|
@ -321,6 +318,18 @@ export interface FileUploadSlots {
|
|||
* Custom content when there is no selected file.
|
||||
*/
|
||||
empty(): VNode[];
|
||||
/**
|
||||
* Custom choose icon template.
|
||||
*/
|
||||
chooseicon(): VNode[];
|
||||
/**
|
||||
* Custom upload icon template.
|
||||
*/
|
||||
uploadicon(): VNode[];
|
||||
/**
|
||||
* Custom cancel icon template.
|
||||
*/
|
||||
cancelicon(): VNode[];
|
||||
}
|
||||
|
||||
export interface FileUploadEmits {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue