ForwardRefFn
要传给 forwardRef的函数时必须实现的接口。
An interface that a function passed into forwardRefhas to implement.
interface ForwardRefFn {
(): any
}
方法
参数没有参数。 返回值
|
使用说明
例子
Example
const ref = forwardRef(() => Lock);