parameter react router code example
Example: react js router parameters
// Declaramos la ruta
<Route path="/thanks/:status" component={ThanksPage} />
// Obtenemos la variable
import { useParams } from "react-router-dom";
const { status } = useParams();