@@ -87,7 +87,7 @@ class LeftContainer extends Component<PropsInt, StateInt> {
8787 }
8888
8989 handleChange = ( event : any ) => {
90- let newValue : string = event . target . value ;
90+ const newValue : string = event . target . value ;
9191 this . setState ( {
9292 componentName : newValue ,
9393 } ) ;
@@ -169,10 +169,8 @@ class LeftContainer extends Component<PropsInt, StateInt> {
169169 render ( ) : JSX . Element {
170170 const {
171171 components,
172- updateComponent,
173172 deleteComponent,
174173 focusComponent,
175- totalComponents,
176174 classes,
177175 addChild,
178176 changeFocusComponent,
@@ -194,6 +192,8 @@ class LeftContainer extends Component<PropsInt, StateInt> {
194192 changeFocusComponent = { changeFocusComponent }
195193 changeFocusChild = { changeFocusChild }
196194 selectableChildren = { selectableChildren }
195+ deleteComponent = { deleteComponent }
196+ components = { components }
197197 />
198198 ) ) ;
199199
@@ -260,7 +260,7 @@ class LeftContainer extends Component<PropsInt, StateInt> {
260260 color = "secondary"
261261 aria-label = "Delete All"
262262 variant = "contained"
263- fullwidth = "true"
263+ fullWidth
264264 onClick = { this . clearWorkspace }
265265 disabled = { this . props . components . length === 1 }
266266 className = { classes . clearButton }
@@ -278,12 +278,11 @@ class LeftContainer extends Component<PropsInt, StateInt> {
278278 >
279279 < Button
280280 color = "primary"
281+ aria-label = "Export Code"
281282 variant = "contained"
282- fullwidth = "true"
283+ fullWidth
283284 onClick = { this . showGenerateAppModal }
284285 className = { classes . clearButton }
285- disabled = { totalComponents < 1 }
286- onClick = { this . showGenerateAppModal }
287286 style = { { borderRadius : 0 } }
288287 >
289288 < GetAppIcon style = { { paddingRight : '5px' } } />
0 commit comments