docs(overlays): apply missing OverlayMixin

This commit is contained in:
Jalal Fathi 2021-05-29 23:28:23 +02:00 committed by GitHub
parent 0bda0fbff3
commit d577e733f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ Or creating your own Web Component which uses the Overlay System
import { LitElement } from '@lion/core'; import { LitElement } from '@lion/core';
import { OverlayMixin, withModalDialogConfig } from '@lion/overlays'; import { OverlayMixin, withModalDialogConfig } from '@lion/overlays';
class MyOverlayComponent extends LitElement { class MyOverlayComponent extends OverlayMixin(LitElement) {
_defineOverlayConfig() { _defineOverlayConfig() {
return { return {
...withModalDialogConfig, ...withModalDialogConfig,