diff --git a/packages/core/component-doc.json b/packages/core/component-doc.json index 262f9240fb7..c2fc66330f7 100644 --- a/packages/core/component-doc.json +++ b/packages/core/component-doc.json @@ -16153,18 +16153,13 @@ "docs": "", "docsTags": [], "encapsulation": "shadow", - "dependents": [ - "ix-playground-internal" - ], + "dependents": [], "dependencies": [ "ix-tree-item" ], "dependencyGraph": { "ix-tree": [ "ix-tree-item" - ], - "ix-playground-internal": [ - "ix-tree" ] }, "props": [ diff --git a/packages/core/src/components/playground/playground.tsx b/packages/core/src/components/playground/playground.tsx index 0b260ed3cea..87fd0c116b6 100644 --- a/packages/core/src/components/playground/playground.tsx +++ b/packages/core/src/components/playground/playground.tsx @@ -6,7 +6,7 @@ * This source code is licensed under the MIT license found in the * LICENxSE file in the root directory of this source tree. */ -import { Component, h, Host, State } from '@stencil/core'; +import { Component, h, Host } from '@stencil/core'; /** @internal */ @Component({ @@ -17,61 +17,7 @@ import { Component, h, Host, State } from '@stencil/core'; scoped: true, }) export class PlaygroundInternal { - @State() model = { - root: { - id: 'root', - data: { - name: '', - }, - hasChildren: true, - children: ['sample'], - }, - sample: { - id: 'sample', - data: { - name: 'Sample', - }, - hasChildren: true, - children: ['sample-child-1', 'sample-child-2', 'sample-child-3'], - }, - 'sample-child-1': { - id: 'sample-child-1', - data: { - name: 'Sample Child 1', - }, - hasChildren: false, - children: [], - }, - 'sample-child-2': { - id: 'sample-child-2', - data: { - name: 'Sample Child 2', - }, - hasChildren: true, - children: ['sample-child-4'], - }, - 'sample-child-3': { - id: 'sample-child-3', - data: { - name: 'Sample Child 3', - }, - hasChildren: false, - children: [], - }, - 'sample-child-4': { - id: 'sample-child-4', - data: { - name: 'Sample Child 4', - }, - hasChildren: false, - children: [], - }, - }; render() { - return ( - - - - ); + return ; } }