import React from 'react'
import { StackNavigator } from 'react-navigation'
import Home from './stateless/screens/Home'
import ReposList from './stateless/screens/ReposList'
// import SEARCH_QUERY from './stateless/screens/Home'

const Router = StackNavigator({
  Home: { screen: Home },
  ReposList: { screen: props => <ReposList {...props} searchQuery="react" /> }
  // ContributorsList: { ContributorsList }
})

export default Router

import React from 'react'
import { StackNavigator } from 'react-navigation'
import Home from './stateless/screens/Home'
import ReposList from './stateless/screens/ReposList'
import { SEARCH_QUERY } from './stateless/screens/Home'

const Router = StackNavigator({
  Home: { screen: Home },
  ReposList: { screen: props => <ReposList {...props} searchQuery={SEARCH_QUERY} /> }
  // ContributorsList: { ContributorsList }
})

export default Router

Fix prop returning class instead of value of prop
Fix prop returning class instead of value of prop
