Control Props

Loading "Control Props"
πŸ‘¨β€πŸ’Ό In this exercise, we've created a <Toggle /> component which can accept a prop called on and another called onChange. These work similar to the value and onChange props of <input />. Your job is to make those props actually control the state of on and call the onChange with the suggested changes.

Access Denied

You must login or register for the workshop to view the diff.

Check out this video to see how the diff tab works.