Skip to content

Commit

Permalink
FileUpload: add missing type definition for cancelIcon (primefaces#6400)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaelu authored Apr 16, 2024
1 parent 48d5fbd commit c857165
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/lib/fileupload/fileupload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ export interface FileUploadPassThroughOptions {
* @see {@link ButtonPassThroughOptions}
*/
cancelButton?: ButtonPassThroughOptions;
/**
* Uses to pass attributes to the cancel icon's DOM element.
*/
cancelIcon?: FileUploadPassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
/**
* Uses to pass attributes to the content's DOM element.
*/
Expand Down

0 comments on commit c857165

Please sign in to comment.