Rename save
to onSave
This commit is contained in:
parent
1b9e581e90
commit
ce825fbd66
2 changed files with 4 additions and 4 deletions
|
@ -116,7 +116,7 @@
|
|||
|
||||
const props = {
|
||||
imageURL: this.objectUrl,
|
||||
save: () => this.saveFile(),
|
||||
onSave: () => this.saveFile(),
|
||||
// implicit: `close`
|
||||
};
|
||||
this.lightboxView = new Whisper.ReactWrapperView({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue