|
@@ -2,6 +2,8 @@ import React, { Component } from 'react';
|
|
|
import { connect } from 'react-redux'
|
|
|
import { TextField, RaisedButton } from 'material-ui';
|
|
|
import {updateText, pushToDo} from '../../../store/actions'
|
|
|
+import DeleteIcon from '@material-ui/icons/Delete';
|
|
|
+import IconButton from '@material-ui/core/IconButton';
|
|
|
|
|
|
|
|
|
class ToDoForm extends Component{
|
|
@@ -42,6 +44,9 @@ class ToDoForm extends Component{
|
|
|
style={style}
|
|
|
onClick={this._handleSubmit}
|
|
|
/>
|
|
|
+ <IconButton aria-label="Delete" color="secondary">
|
|
|
+ <DeleteIcon fontSize="large" />
|
|
|
+ </IconButton>
|
|
|
</form>
|
|
|
</div>
|
|
|
)
|