+ {isSearching ? (
+
+ ) : (
+
+
+ {}}
+ size={size || 'md'}
+ suffix={focusCascade ? : }
+ />
+
+
+ )}
+
+ );
+ }
+}
diff --git a/packages/grafana-ui/src/components/Forms/Select/ButtonSelect.tsx b/packages/grafana-ui/src/components/Forms/Select/ButtonSelect.tsx
index 91ef02ca544..01b772cc1bf 100644
--- a/packages/grafana-ui/src/components/Forms/Select/ButtonSelect.tsx
+++ b/packages/grafana-ui/src/components/Forms/Select/ButtonSelect.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import { Button, ButtonVariant, ButtonProps } from '../Button';
import { ButtonSize } from '../../Button/types';
-import { SelectCommonProps, SelectBase } from './SelectBase';
+import { SelectCommonProps, SelectBase, CustomControlProps } from './SelectBase';
import { css } from 'emotion';
import { useTheme } from '../../../themes';
import { Icon } from '../../Icon/Icon';
@@ -73,13 +73,13 @@ export function ButtonSelect