12 lines
216 B
TypeScript
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>;
|
|
}
|