UNPKG
fomantic-ui-react
Version:
latest (0.0.1-alpha.12)
0.0.1-alpha.12
0.0.1-alpha.11
0.0.1-alpha.10
0.0.1-alpha.9
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.4
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
0.0.1-alpha.0
0.0.1-alpha
0.0.0
Fomantic-UI React -- A React Component Library.
fomantic-ui-react
/
lib
/
_util
/
forwardRefWithStatics.d.ts
3 lines
(2 loc)
•
239 B
TypeScript
View Raw
1
2
3
import
{
RefAttributes
,
ForwardRefRenderFunction
}
from
'react'
;
export
default
function
forwardRefWithStatics<P, T =
any
, S = {}>(
component
:
ForwardRefRenderFunction
<T, P>,
statics
?: S):
React
.
FunctionComponent
<P &
RefAttributes
<T>> & S;