We need to create a responsive activity chart component that showcases user application activity, with data showing "Approved" and "Denied" statuses for each month. This component will be integrated into the ProfilePage folder.
View:
Requirements:
1. Component Structure:
Create an ActivityChart component that accepts data for application statuses over a period of months.
The chart will display two categories: "Approved" and "Denied."
It should support changing the time period using a dropdown (e.g., months, weeks).
2. Suggested Name for Component:
ActivityChart: A component responsible for displaying application activity (approved and denied statuses).
3. Props:
ActivityChart Props: This component will accept an array of objects containing:
month (String): The name of the month.
approved (Number): The number of approved applications for that month.
denied (Number): The number of denied applications for that month.
timePeriod (String): The selected time period, defaulting to "Months."
Description:
We need to create a responsive activity chart component that showcases user application activity, with data showing "Approved" and "Denied" statuses for each month. This component will be integrated into the ProfilePage folder.
View:
Requirements:
1. Component Structure:
2. Suggested Name for Component:
3. Props:
ActivityChart Props: This component will accept an array of objects containing:
month
(String): The name of the month.approved
(Number): The number of approved applications for that month.denied
(Number): The number of denied applications for that month.timePeriod
(String): The selected time period, defaulting to "Months."Example:
4. Design and Layout: