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

10 lines
194 B
TypeScript

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