This component will need the data of the assessment status from the its parent component (Dashboard).
This means through props this component will receive the data to use for the progress modules.
This component can be a functional component.
You may need to also create a ProgressModuleList component to nest the ProgressModule component. This will make things cleaner as we will be able to map through the ProgressModule component for each module.
Tasks:
[x] Create a ProgressModuleList component
[x] Use props to receive the data from the parent component
[x] Possibly map the data through the ProgressModule component ensuring the correct data is being passed through
[x] Connect the data that's passed through props into the ProgressModule component so the %'s display
This component will need the data of the assessment status from the its parent component (Dashboard).
This means through props this component will receive the data to use for the progress modules. This component can be a functional component.
You may need to also create a ProgressModuleList component to nest the ProgressModule component. This will make things cleaner as we will be able to map through the ProgressModule component for each module.
Tasks: