Skip to content

Commit

Permalink
Provide default prop for onCloseComplete in CornerDialog (segmentio#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
archived-m authored and Matt Shwery committed May 24, 2019
1 parent 5c5e102 commit ac4ac72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/corner-dialog/src/CornerDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ export default class CornerDialog extends PureComponent {
hasClose: true,
cancelLabel: 'Close',
onCancel: close => close(),
onConfirm: close => close()
onConfirm: close => close(),
onCloseComplete: () => {}
}

constructor(props) {
Expand Down

0 comments on commit ac4ac72

Please sign in to comment.