Function: namedObserver()
namedObserver<
T
>(displayName
,component
):T
Creates the observable React component. Internal use only.
Type Parameters
• T extends ComponentType
<any
>
Parameters
• displayName: string
the displayName value of the React component.
• component: T
the React component.
Returns
T
the observable React component.