how to pass props in react router component code example Example: react route props ( )} exact={true} />