Question: Create two class components App and PSLmatch. App will pass match location as a props to PSLmatch. Receive location in PSLmatch using constructor and display
Create two class components App and PSLmatch. App will pass match location as a props to PSLmatch. Receive location in PSLmatch using constructor and display match location and start time using text. If location is Lahore match starting time is 06:00 PM and if location is Karachi match starting time is 07:00 PM. Use state to manage match starting time.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
