Javascript Unable To Pass Function In Props To A Component React

Javascript Unable To Pass Function In Props To A Component React