OgComponent
A function component: it receives the props and returns a node.
A function component: it receives the props and returns a node.
Import#
ts
import type { OgComponent } from "@shadow-js/dusk";
Signature#
ts
type OgComponent = (props: Readonly<Record<string, unknown>>) => OgNode