Komponen rute dengan alat peraga
//This only applies for earler versions of React Router specifically v5
<Route
path='/dashboard'
render={(props) => (
<Dashboard {...props} isAuthed={true} />
)}
/>
Embarrassed Echidna