Override a props’ type of a react component to be mandatory

Problematic