Skip to main content
Module

x/bob/domain.ts>Component

A static site generator for the dynamic web - develop with TSX and build with Deno
Go to Latest
type alias Component
import { type Component } from "https://deno.land/x/bob@v2.3.0-rc1/domain.ts";

Component type to be used for all TSX components, both layouts and standalone.

Type Parameters

optional
P extends Props = DefaultProps
optional
PageFrontmatter = unknown
optional
WantedPagesFrontmatter = undefined
optional
ChildPagesFrontmatter = undefined
definition: ((props: P & { children?: Children; }, context: Context<PageFrontmatter, WantedPagesFrontmatter, ChildPagesFrontmatter>) => Awaitable<Element>) & { wantsPages?: WantsPages; needsCss?: NeedsCss; }