react / forwardRef
Lets your component expose an element to a parent component using a ref.
| Type Parameter | Default type | Description |
|---|---|---|
T |
- | The type of the element node. |
P |
object |
The props the component accepts, if any. |
| Parameter | Type | Description |
|---|---|---|
render |
ForwardRefRenderFunction<T, PropsWithoutRef<P>> |
See the ForwardRefRenderFunction. |
ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:1606