@@ -43,7 +43,7 @@ export const FileInput = (props: FileInputProps) => {
4343 onRemove : onRemoveProp ,
4444 parse,
4545 placeholder,
46- RemoveIcon ,
46+ removeIcon ,
4747 resource,
4848 source,
4949 validate,
@@ -195,7 +195,7 @@ export const FileInput = (props: FileInputProps) => {
195195 file = { file }
196196 onRemove = { onRemove ( file ) }
197197 className = { FileInputClasses . removeButton }
198- RemoveIcon = { RemoveIcon }
198+ removeIcon = { removeIcon }
199199 >
200200 < RecordContextProvider value = { file } >
201201 { childrenElement }
@@ -227,7 +227,7 @@ FileInput.propTypes = {
227227 multiple : PropTypes . bool ,
228228 validateFileRemoval : PropTypes . func ,
229229 options : PropTypes . object ,
230- RemoveIcon : PropTypes . elementType ,
230+ removeIcon : PropTypes . elementType ,
231231 resource : PropTypes . string ,
232232 source : PropTypes . string ,
233233 placeholder : PropTypes . node ,
@@ -269,7 +269,7 @@ export type FileInputProps = CommonInputProps & {
269269 options ?: DropzoneOptions ;
270270 onRemove ?: Function ;
271271 placeholder ?: ReactNode ;
272- RemoveIcon ?: FC < SvgIconProps > ;
272+ removeIcon ?: FC < SvgIconProps > ;
273273 inputProps ?: any ;
274274 validateFileRemoval ?( file ) : boolean | Promise < boolean > ;
275275 sx ?: SxProps ;
0 commit comments