pass props to route component that is already exists code example
Example: react route props
<Route
path="/page"
render={() => (
<Page
//pass the props through the route
username={username}
password={password}
email={email}
/>
)}
exact={true}
/>