Implement deletion + context menu
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-08 14:29:45 +02:00
parent 7b23283201
commit 49a558589c
6 changed files with 169 additions and 1 deletions

View file

@ -15,6 +15,7 @@ interface IUIProps {
historyCurrentStep: number
AvailableContainers: AvailableContainer[]
SelectContainer: (container: ContainerModel) => void
DeleteContainer: (containerId: string) => void
OnPropertyChange: (key: string, value: string) => void
AddContainer: (type: string) => void
SaveEditorAsJSON: () => void
@ -97,6 +98,7 @@ export class UI extends React.PureComponent<IUIProps, IUIState> {
isHistoryOpen={this.state.isHistoryOpen}
onPropertyChange={this.props.OnPropertyChange}
selectContainer={this.props.SelectContainer}
deleteContainer={this.props.DeleteContainer}
/>
<History
history={this.props.history}