I want to implement a functionality where users can upload or capture documents within the application. Once a picture is clicked or a document is uploaded, the camera icon should change its appearance—such as turning green or adopting a different style—to indicate that a document has been uploaded.
If the uploaded documents are deleted, the camera icon should revert to its original state. For example, as shown in the attached image, the camera icon for the COI documents turns green after an upload, while the others remain in their default state.
Looking forward to suggestions or ideas on how to achieve this functionality effectively!
