Creating a View Toggle Button
Build a React component that can toggle between two areas of the render function.
We'll cover the following...
It’s cumbersome to scroll past the widgets to see the rendered people
data. Let’s build a small toggle button that lives in App.tsx
and toggles rendering for either the widgets
or the people
data.