Type alias TRegistryComponent<Props, Component, Name>
TRegistryComponent<Props, Component, Name>: Component & {
__crComponentApiTypes: {
componentName: Name;
key: string | number;
props: TReactComponentProps<Component, Props>;
};
__crComponentName: Name;
__crComponentRenderProps: {
Component: ComponentType<ComponentProps<Component>>;
componentName: Name;
key: string | number;
props: TReactComponentRenderProps<Component, Props>;
};
}
Type Parameters
-
Props
-
Component extends TReactComponent
-
Name
Type declaration
-
__crComponentApiTypes: {
componentName: Name;
key: string | number;
props: TReactComponentProps<Component, Props>;
}
-
componentName: Name
-
key: string | number
-
props: TReactComponentProps<Component, Props>
-
__crComponentName: Name
-
__crComponentRenderProps: {
Component: ComponentType<ComponentProps<Component>>;
componentName: Name;
key: string | number;
props: TReactComponentRenderProps<Component, Props>;
}
-
Component: ComponentType<ComponentProps<Component>>
-
componentName: Name
-
key: string | number
-
props: TReactComponentRenderProps<Component, Props>
API types