docs(overlays): invoke withModalDialogConfig
This commit is contained in:
parent
d577e733f5
commit
b7bfb97a4d
1 changed files with 2 additions and 2 deletions
|
|
@ -69,13 +69,13 @@ const ctrl = new OverlayController({
|
|||
Or creating your own Web Component which uses the Overlay System
|
||||
|
||||
```js
|
||||
import { LitElement } from '@lion/core';
|
||||
import { LitElement, html } from '@lion/core';
|
||||
import { OverlayMixin, withModalDialogConfig } from '@lion/overlays';
|
||||
|
||||
class MyOverlayComponent extends OverlayMixin(LitElement) {
|
||||
_defineOverlayConfig() {
|
||||
return {
|
||||
...withModalDialogConfig,
|
||||
...withModalDialogConfig(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue