Kind: Function
Source: src/jsx/hooks/index.ts
Part of: Jsx
Signature
tsfunction forwardRef(Component: (props: P, ref?: RefObject<T | null>) => JSX.Element): ((props: P & { ref?: RefObject<T | null> }) => JSX.Element)
Parameters
| Name | Type |
|---|---|
Component | `(props: P, ref?: RefObject<T |
Returns: ((props: P & { ref?: RefObject<T | null> }) => JSX.Element)
Was this page helpful?