createComponent
import { createComponent } from "@alloy-js/core";
function createComponent<TProps extends Props = Props>(C: Component<TProps>, props: TProps, source?: SourceLocation): ComponentCreator<TProps>;Parameters
Section titled “Parameters”| C | Component<TProps> | |
| props | TProps | |
| source | optional SourceLocation |
Returns
Section titled “Returns”ComponentCreator<TProps>