Skip to content

Commit 7bf3de9

Browse files
added classname destroy
1 parent 2593d23 commit 7bf3de9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ep16-new-css/app/components/DisplayItem.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export default class DisplayItem extends React.Component {
1313
style={{ fontSize: 'x-large' }} />
1414

1515
{ todo.title }
16-
<a href='#' onClick={ this.props.handleDelete.bind(null, todo.id) }>
16+
<a href='#'
17+
className="destroy"
18+
onClick={ this.props.handleDelete.bind(null, todo.id) }>
1719
[x]
1820
</a>
1921
</li>;

0 commit comments

Comments
 (0)