Skip to content

jsx

import { jsx } from "@alloy-js/core";
function jsx(type: Component<any>, props: Record<string, unknown>): ComponentCreator<Record<string, unknown>>;

Parameters

type

Component<any>

props

Record<string, unknown>

Returns

ComponentCreator<Record<string, unknown>>