I\'m learning TypeScript. I\'m using a component from a library that was built in TypeScript. I want to pass my own function to this component, which receives it as props: