Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bob/examples/personal-blog/layouts/deps.ts>Component

A static site generator for the dynamic web - develop with TSX and build with Deno
Latest
type alias Component
import { type Component } from "https://deno.land/x/bob@v2.8.1/examples/personal-blog/layouts/deps.ts";

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

Type Parameters

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