I\'m trying to create a function that accepts 2 parameters: a React Functional component and it\'s props object, and has the following requirements: