- Use the provided
itemCount
value drive the number of items left. - Use a ternary operator to print
item
vsitems
based on ifitemCount > 1
- Pull in
label
andcompleted
from props using destructuring - Set the todo's text to
label
and thechecked
prop tocompleted
Note that this is only half the work we need to do to make these controlled inputs. What is the other half?