WEBVTT

1
00:00:00.000 --> 00:00:00.225
an index as an argument,
then it found the corresponding array and

2
00:00:00.225 --> 00:00:05.165
the state and flipped the Boolean
corresponding guest confirmed status.

3
00:00:05.165 --> 00:00:09.963
So lets pass the toggleConfirmationAt
method down to the Guest component and

4
00:00:09.963 --> 00:00:14.831
bind it to the check box's change event,
so I'll scroll down to the GuestList

5
00:00:14.831 --> 00:00:20.972
component, And I'll pass it a new
prop called toggleConfirmationAt,

6
00:00:23.540 --> 00:00:28.980
And I'll pass it the function
with this.toggleConfirmationAt.

7
00:00:28.980 --> 00:00:30.000
Now I'll open up the GuestList component
and add our new prop to the propTypes.
