Skip to content

Commit 69f2b84

Browse files
wrap content in label
1 parent 7bf3de9 commit 69f2b84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export default class DisplayItem extends React.Component {
1212
type="checkbox"
1313
style={{ fontSize: 'x-large' }} />
1414

15-
{ todo.title }
15+
<label>
16+
{ todo.title }
17+
</label>
18+
1619
<a href='#'
1720
className="destroy"
1821
onClick={ this.props.handleDelete.bind(null, todo.id) }>

0 commit comments

Comments
 (0)