Files
sweet/tests/fixture/routes/[name].tsx
T

12 lines
216 B
TypeScript

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