how to handle two url in one route in react

JavaScript
 <Route path={"/home" | "/users" | "/widgets"} component={Home} />
Source

Also in JavaScript: