Files
sweet/tests/fixture/routes/[name].tsx
T
2022-05-23 16:05:33 +02:00

12 lines
216 B
TypeScript

/** @jsx h */
import { h } from "../deps.client.ts";
interface Props {
params: Record<string, string | string[]>;
}
export default function Greet(props: Props) {
return <div>Hello {props.params.name}</div>;
}