# forwardRef

**Kind:** Function

**Source:** [`src/jsx/hooks/index.ts`](https://github.com/honojs/hono/blob/main/src/jsx/hooks/index.ts#L379)

**Part of:** [Jsx](subsystem-src-jsx)

## Signature

```ts
function 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 | null>) => JSX.Element` |

**Returns:** `((props: P & { ref?: RefObject<T | null> }) => JSX.Element)`
