chore: docs

This commit is contained in:
mathuo 2024-02-25 16:08:26 +00:00
parent 50608f4520
commit 60f49ce449
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -47,9 +47,12 @@ const Component = (props: { theme?: string }) => {
e.nativeEvent.preventDefault();
}),
api.onWillShowOverlay((e) => {
console.log(e);
if (!disableOverlay) {
return;
}
e.preventDefault();
}),
@ -67,7 +70,7 @@ const Component = (props: { theme?: string }) => {
disposable.dispose();
});
};
}, [api, disablePanelDrag, disableGroupDrag]);
}, [api, disablePanelDrag, disableGroupDrag, disableOverlay]);
const onReady = (event: DockviewReadyEvent) => {
setApi(event.api);