withTimeout Function
withTimeout is a React higher-order component that adds timeout support.
withTimeout(Component: ComponentType<ComponentProps>):
Parameter | Type | Description |
---|---|---|
Component | ComponentType<ComponentProps> |
Returns -
Defined in
Last Updated: 13 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.