my-website-v2/frontend/routes/greet/[name].tsx

6 lines
146 B
TypeScript
Raw Normal View History

2024-09-03 00:17:19 -05:00
import { PageProps } from "$fresh/server.ts";
export default function Greet(props: PageProps) {
return <div>Hello {props.params.name}</div>;
}