From 47caa8d01ad62d823e005cce6d8911ff62ff2922 Mon Sep 17 00:00:00 2001 From: Jose Manuel Serrano Amaut <a20122128@pucp.pe> Date: Fri, 17 Mar 2023 11:11:05 -0500 Subject: [PATCH] [REF]: Remove unused drag events as props --- .../components/file-input-button/FileInputButton.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/files-ui/components/file-input-button/FileInputButton.tsx b/src/files-ui/components/file-input-button/FileInputButton.tsx index 616738a..8a3fbd4 100644 --- a/src/files-ui/components/file-input-button/FileInputButton.tsx +++ b/src/files-ui/components/file-input-button/FileInputButton.tsx @@ -62,6 +62,7 @@ const FileInputButton: React.FC<FileInputButtonProps> = ( color, style, textColor, + textTransform, className, //label label, @@ -69,9 +70,6 @@ const FileInputButton: React.FC<FileInputButtonProps> = ( localization, //ripple disableRipple, - //drag operations - onDragEnter, - onDragLeave, //action butotns actionButtons, //drop layer @@ -83,7 +81,6 @@ const FileInputButton: React.FC<FileInputButtonProps> = ( //footerConfig = {}, //disabled disabled, - //open file dialog //clickable, //add or replace behaviour, @@ -92,7 +89,6 @@ const FileInputButton: React.FC<FileInputButtonProps> = ( //advancedConfig, variant, - textTransform, resetStyles, ...rest } = mergeProps(props, defaultFileInputButtonProps); -- GitLab