qr_id route php getDog

This commit is contained in:
2022-12-15 23:32:34 +01:00
parent 01190c5ff2
commit a1727381ba
18 changed files with 381 additions and 10 deletions

13
src/components/Dog.tsx Normal file
View File

@ -0,0 +1,13 @@
import React from 'react'
import { useParams } from "react-router-dom";
export default function Dog()
{
const params = useParams();
return (
<div>
<h1>Dog</h1>
<p>{Object.keys(params)[0]}: {Object.values(params)[0]}</p>
</div>
)
}