Rename SVGSidebar to ElementsSidebar
This commit is contained in:
parent
106c403125
commit
e5012256de
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
import * as React from 'react';
|
||||
import { Container } from '../SVG/Elements/Container';
|
||||
|
||||
interface ISVGSidebarProps {
|
||||
interface IElementsSidebarProps {
|
||||
MainContainer: Container | null,
|
||||
isOpen: boolean,
|
||||
SelectedContainer: Container | null,
|
||||
|
@ -9,7 +9,7 @@ interface ISVGSidebarProps {
|
|||
selectContainer: (container: Container) => void
|
||||
}
|
||||
|
||||
export class SVGSidebar extends React.Component<ISVGSidebarProps> {
|
||||
export class ElementsSidebar extends React.Component<IElementsSidebarProps> {
|
||||
public iterateChilds(handleContainer: (container: Container, depth: number) => void): React.ReactNode {
|
||||
// TODO: fix this by using dfs or sort
|
||||
const root = this.props.MainContainer;
|
Loading…
Add table
Add a link
Reference in a new issue