Skip to content

forwardRef

reference
1 min readUpdated

Kind: Function

Source: src/jsx/hooks/index.ts

Part of: Jsx

Signature

ts
function forwardRef(Component: (props: P, ref?: RefObject<T | null>) => JSX.Element): ((props: P & { ref?: RefObject<T | null> }) => JSX.Element)

Parameters

NameType
Component`(props: P, ref?: RefObject<T

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

Was this page helpful?

Download as PDF
forwardRef — Hono (narrator proof)