Skip to content

createComponent

import { createComponent } from "@alloy-js/core";
function createComponent<TProps extends Props = Props>(C: Component<TProps>, props: TProps, source?: SourceLocation): ComponentCreator<TProps>;
CComponent<TProps>
propsTProps
sourceoptional SourceLocation

ComponentCreator<TProps>