API Reference > ui-core > Common > withTimeout 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 ui/core/src/ui-core/hocs/withTimeout.tsx Line 25 Last Updated: 15 June, 2021