useParams
useParams<ParamsOrKey>(): Readonly<>
Returns an object of key/value pairs of the dynamic params from the current
URL that were matched by the route path.
Properties
This element is often used without passing props
useParams<ParamsOrKey>(): Readonly<>
Returns an object of key/value pairs of the dynamic params from the current
URL that were matched by the route path.
This element is often used without passing props