Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to pass a prop in route

<Route
  path='/dashboard'
  component={() => <Dashboard isAuthed={true} />}
/>
Source by tylermcginnis.com #
 
PREVIOUS NEXT
Tagged: #pass #prop #route
ADD COMMENT
Topic
Name
7+7 =