(props: any, ref: React.Ref<TRef>)
| 118 | } |
| 119 | |
| 120 | let observerComponent = (props: any, ref: React.Ref<TRef>) => { |
| 121 | return useObserver(() => render(props, ref), baseComponentName) |
| 122 | } |
| 123 | |
| 124 | // Inherit original name and displayName, see #3438 |
| 125 | ;(observerComponent as React.FunctionComponent).displayName = baseComponent.displayName |
nothing calls this directly
no test coverage detected
searching dependent graphs…