This allows users to control the `preact` version independently of fresh itself.
17 lines
294 B
TypeScript
17 lines
294 B
TypeScript
/** @jsx h */
|
|
import { h } from "preact";
|
|
|
|
export default function Test(props: { message: string }) {
|
|
return (
|
|
<div>
|
|
<p>{props.message}</p>
|
|
<img
|
|
id="img-in-island"
|
|
src="/image.png"
|
|
srcset="/image.png 1x"
|
|
height={130}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|