Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

Commit

Permalink
remove onDelete from typescript component definition
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanCaceres committed Mar 5, 2020
1 parent ee1748c commit ceba406
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/component/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { Component } from 'react'
interface Props {
className?: string
fileContainerStyle?: object
onChange?: (files: File[],pictures:string[]) => void
onDelete?: () => void
onChange?: (files: File[], pictures: string[]) => void
buttonClassName?: string
buttonStyles?: object
withPreview?: boolean
Expand Down

0 comments on commit ceba406

Please sign in to comment.