Stock/routes/greet/[name].tsx

6 lines
146 B
TypeScript
Raw Permalink Normal View History

2023-07-23 00:32:54 +09:00
import { PageProps } from "$fresh/server.ts";
export default function Greet(props: PageProps) {
return <div>Hello {props.params.name}</div>;
}