Skip to content

Commit 9047d80

Browse files
committed
Panels are now dynamically added.
1 parent d2db9cf commit 9047d80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hello-world/src/HelloApp.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import { ComponentType, CyApp } from '@cytoscape-web/types'
2-
import HelloPanel from './components/HelloPanel'
32

43
export const HelloApp: CyApp = {
54
id: 'hello',
65
name: 'Hello Cy World App',
76
url: '',
8-
componentNames: ['HelloPanel', 'SubPanel'],
97
components: [
108
{
119
id: 'MenuExample',
1210
type: ComponentType.Menu,
1311
},
12+
{
13+
id: 'HelloPanel',
14+
type: ComponentType.Panel,
15+
},
1416
],
1517
}

0 commit comments

Comments
 (0)