Home > react > defineComponent
定义组件。
Signature:
export declare function defineComponent<TProps extends Record<string, any>, TRef extends any = any>(options: DefineComponentOptions<TProps, false>): React_2.FC<TProps>;
Parameter | Type | Description |
---|---|---|
options | DefineComponentOptions<TProps, false> | 选项 |
Returns:
React_2.FC<TProps>