10 lines
167 B
TypeScript
10 lines
167 B
TypeScript
import { h } from "preact";
|
|
|
|
export function Welcome({ name, asd }: { asd?: string; name?: string }) {
|
|
return (
|
|
<div>
|
|
{asd} Hello {name}
|
|
</div>
|
|
);
|
|
}
|