how to pass a prop in route code example
Example: how to pass a prop in route
<Route
path='/dashboard'
component={() => <Dashboard isAuthed={true} />}
/>
<Route
path='/dashboard'
component={() => <Dashboard isAuthed={true} />}
/>