Help Angular by taking a 1 minute survey!Go to surveyHome

ForwardRefFn

An interface that a function passed into forwardRef has to implement.

interface ForwardRefFn { (): any }
      
      interface ForwardRefFn {
  (): any
}
    

Methods

(): any
      
      (): any
    
Parameters

There are no parameters.

Returns

any

Usage notes

Example

const ref = forwardRef(() => Lock);
      
      const ref = forwardRef(() => Lock);