how to give multiple paths in route in react code example
Example: multiple path names for a same component in react router
{["/home", "/users", "/widgets"].map((path, index) =>
)}
{["/home", "/users", "/widgets"].map((path, index) =>
)}