I have one tab component with Key and Value data in it (example: Key: Color, Value: black"). I want to do an API call whenever I click on any value of that selected key