Remove usage of ContainerModel rather than IContainerModel

This commit is contained in:
Eric NGUYEN 2022-11-08 10:25:08 +01:00
parent 1116185b9f
commit a8723ffd27
6 changed files with 23 additions and 25 deletions

View file

@ -1,7 +1,7 @@
import * as React from 'react';
import { ReactSVGPanZoom, Tool, TOOL_PAN, Value } from 'react-svg-pan-zoom';
import { Container } from './Elements/Container';
import { ContainerModel, IContainerModel } from '../../Interfaces/IContainerModel';
import { IContainerModel } from '../../Interfaces/IContainerModel';
import { Selector } from './Elements/Selector/Selector';
import { DepthDimensionLayer } from './Elements/DepthDimensionLayer';
import { MAX_FRAMERATE, SHOW_DIMENSIONS_PER_DEPTH } from '../../utils/default';
@ -16,8 +16,8 @@ interface ISVGProps {
width: number
height: number
containers: Map<string, IContainerModel>
children: ContainerModel
selected?: ContainerModel
children: IContainerModel
selected?: IContainerModel
symbols: Map<string, ISymbolModel>
selectContainer: (containerId: string) => void
}