Co-authored-by: Thomas Allmer <Thomas.Allmer@ing.com> Co-authored-by: Joren Broekema <Joren.Broekema@ing.com> Co-authored-by: Mikhail Bashkirov <Mikhail.Bashkirov@ing.com>
12 lines
251 B
JavaScript
12 lines
251 B
JavaScript
export const withModalDialogConfig = () => ({
|
|
placementMode: 'global',
|
|
viewportConfig: {
|
|
placement: 'center',
|
|
},
|
|
|
|
hasBackdrop: true,
|
|
preventsScroll: true,
|
|
trapsKeyboardFocus: true,
|
|
hidesOnEsc: true,
|
|
handlesAccessibility: true,
|
|
});
|