diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx index f475e8805a4..89badf3e9de 100644 --- a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx +++ b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx @@ -37,7 +37,7 @@ export interface WithKeyboardNavigationProps { } export default function withKeyboardNavigation<P>( - WrappedComponent: React.ComponentClass<P & Partial<WithKeyboardNavigationProps>> + WrappedComponent: React.ComponentType<P & Partial<WithKeyboardNavigationProps>> ) { return class Wrapper extends React.Component<P & WithKeyboardNavigationProps> { static displayName = getWrappedDisplayName(WrappedComponent, 'withKeyboardNavigation'); |