Reactjs Error When Passing Correct Type To Function In React

Reactjs Error When Passing Correct Type To Function In React