react route props

JavaScript
        <Route
          path="/page"
          render={() => (
            <Page
            //pass the props through the route
              username={username}
              password={password}
              email={email}
            />
          )}
          exact={true}
        />
Source

Also in JavaScript: