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

Commit

Permalink
Merge pull request #147 from IvanCaceres/patch-1
Browse files Browse the repository at this point in the history
Update index.d.ts type definition with defaultImages and removing onDelete
  • Loading branch information
ivnnv authored Mar 5, 2020
2 parents 69eb932 + ceba406 commit a5be2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Component } from 'react'
interface Props {
className?: string
fileContainerStyle?: object
onChange?: (files: File[],pictures:string[]) => void
onChange?: (files: File[], pictures: string[]) => void
buttonClassName?: string
buttonStyles?: object
withPreview?: boolean
Expand All @@ -23,6 +23,6 @@ interface Props {
errorStyle?: object
singleImage?: boolean
style?: object
defaultImage?: string
defaultImages?: string[]
}
export default class ReactImageUploadComponent extends Component<Props> { }

0 comments on commit a5be2f6

Please sign in to comment.