Handle for interaction outside of the ViewportDialog (default to cancel)

This commit is contained in:
dannyrb committed 2020-06-29 23:29:40 -04:00
1 parent 9403a091d9
commit a0b0f365dd
7 files changed
+64 -7

No files matched your search

@@ -26,13 +26,21 @@ const serviceImplementation = {
*
* @param {ViewportDialogProps} props { content, contentProps, viewportIndex }
*/
function _show({ viewportIndex, type, message, actions, onSubmit }) {
function _show({
viewportIndex,
type,
message,
actions,
onSubmit,
onOutsideClick,
}) {
return serviceImplementation._show({
viewportIndex,
type,
message,
actions,
onSubmit,
onOutsideClick,
});
}