Optional defaultdefaultProps are not supported on render functions passed to forwardRef.
Optional displayUsed in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Will show ForwardRef(${Component.displayName || Component.name})
in devtools by default, but can be given its own specific name.
Optional proppropTypes are not supported on render functions passed to forwardRef.
The type of the function passed to forwardRef. This is considered different to a normal FunctionComponent because it receives an additional argument,
See