Skip to main content
Module

x/fastro/mod.ts>FunctionComponent

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
type alias FunctionComponent
import { type FunctionComponent } from "https://deno.land/x/fastro@v0.88.3/mod.ts";

Define the function component

Example:

const c = () => <div>Hello<div>
definition: (props: any) => JSX.Element