createComponent
import { createComponent } from "@alloy-js/core";
function createComponent<TProps extends Props = Props>(C: Component<TProps>, props: TProps): ComponentCreator<TProps>;
Parameters
C |
|
props |
|
Returns
ComponentCreator<TProps>
import { createComponent } from "@alloy-js/core";
function createComponent<TProps extends Props = Props>(C: Component<TProps>, props: TProps): ComponentCreator<TProps>;
C |
|
props |
|
ComponentCreator<TProps>