withTimeout FunctionConst

withTimeout is a React higher-order component that adds timeout support.

withTimeout<ComponentProps extends { T }>(Component: React.ComponentType<ComponentProps extends { T }>): WithTimeout

Parameter Type Description
Component React.ComponentType<ComponentProps extends { T }>  

Returns - WithTimeout

Defined in

Last Updated: 15 June, 2021