Implement deletion + context menu
This commit is contained in:
parent
7b23283201
commit
49a558589c
6 changed files with 169 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue