mirror of
https://github.com/mathuo/dockview
synced 2025-02-02 06:25:44 +00:00
Merge branch 'master' of https://github.com/mathuo/dockview into 818-container-with-theme-class-is-created-twice-1
This commit is contained in:
commit
3d23a2d352
@ -124,6 +124,11 @@ const DockviewDemo = (props: { theme?: string }) => {
|
|||||||
|
|
||||||
const onReady = (event: DockviewReadyEvent) => {
|
const onReady = (event: DockviewReadyEvent) => {
|
||||||
setApi(event.api);
|
setApi(event.api);
|
||||||
|
setPanels([]);
|
||||||
|
setGroups([]);
|
||||||
|
setActivePanel(undefined);
|
||||||
|
setActiveGroup(undefined);
|
||||||
|
addLogLine(`Dockview Is Ready`);
|
||||||
};
|
};
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user