Nightlight (React)

Add and modify the code needed to make the state toggle correctly when the button is pressed. The <button> must stay in the Switch component and the <p> tag must stay in the Switch component, and each component should have at most 1 prop.