diff --git a/src/App.tsx b/src/App.tsx index b5c86b6..8c356b9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ import React from 'react'; import './App.scss'; import Sidebar from './Components/Sidebar/Sidebar'; -import { SVGSidebar } from './Components/SVGSidebar/SVGSidebar'; +import { ElementsSidebar } from './Components/ElementsSidebar/ElementsSidebar'; import { AvailableContainer } from './Interfaces/AvailableContainer'; import { Configuration } from './Interfaces/Configuration'; import { Container } from './Components/SVG/Elements/Container'; @@ -133,7 +133,7 @@ class App extends React.Component { buttonOnClick={(type: string) => this.AddContainer(type)} /> - void } -export class SVGSidebar extends React.Component { +export class ElementsSidebar extends React.Component { public iterateChilds(handleContainer: (container: Container, depth: number) => void): React.ReactNode { // TODO: fix this by using dfs or sort const root = this.props.MainContainer;