❔ beginner - is it possible to pass a prop to a function as parameter?
I'm writing my first "as much as possible professional-structured" project, and I'd like to optimise the code by passing parameters to a function for avoid having to write multiple time the same function
I actually have this situation (first 3 tabs) and I tried to make this (tab 4 and 5) but seems not working, maybe it's not possible