When we are using the render prop, why do we have to specify the component prop as:
component: Component
All the other props use the regular destructured syntax:
exact
Is this specific to React Router DOM, or is this generally how you pass components in React? If so, why do we have to use this syntax?