Fix wrong property in docs (#2593)
Co-authored-by: Koen Reefman <koen.reefman@ing.com>
This commit is contained in:
parent
b74d312bc0
commit
f385bed336
1 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ No backdrop, hides on escape, prevents scrolling while opened, and focuses the b
|
||||||
export const otherOverrides = () => {
|
export const otherOverrides = () => {
|
||||||
const cfg = {
|
const cfg = {
|
||||||
hasBackdrop: false,
|
hasBackdrop: false,
|
||||||
hidesOnEscape: true,
|
hidesOnEsc: true,
|
||||||
preventsScroll: true,
|
preventsScroll: true,
|
||||||
elementToFocusAfterHide: document.body,
|
elementToFocusAfterHide: document.body,
|
||||||
};
|
};
|
||||||
|
|
@ -192,7 +192,7 @@ Configuration passed to `config` property:
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
hasBackdrop: false,
|
hasBackdrop: false,
|
||||||
hidesOnEscape: true,
|
hidesOnEsc: true,
|
||||||
preventsScroll: true,
|
preventsScroll: true,
|
||||||
elementToFocusAfterHide: document.body
|
elementToFocusAfterHide: document.body
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue