mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 09:02:13 +08:00
CloudMonitoring: Fix fastpass issues (#44277)
This commit is contained in:

committed by
GitHub

parent
de2c5783fa
commit
af0ece12f9
@ -1,7 +1,8 @@
|
||||
import React from 'react';
|
||||
|
||||
import { useTheme2 } from '../../themes';
|
||||
import { IconButton } from '../IconButton/IconButton';
|
||||
import { getSelectStyles } from './getSelectStyles';
|
||||
import { Icon } from '../Icon/Icon';
|
||||
|
||||
interface MultiValueContainerProps {
|
||||
innerProps: any;
|
||||
@ -25,9 +26,5 @@ export type MultiValueRemoveProps = {
|
||||
export const MultiValueRemove: React.FC<MultiValueRemoveProps> = ({ children, innerProps }) => {
|
||||
const theme = useTheme2();
|
||||
const styles = getSelectStyles(theme);
|
||||
return (
|
||||
<div {...innerProps} className={styles.multiValueRemove}>
|
||||
<Icon name="times" size="sm" />
|
||||
</div>
|
||||
);
|
||||
return <IconButton {...innerProps} name="times" size="sm" className={styles.multiValueRemove} />;
|
||||
};
|
||||
|
Reference in New Issue
Block a user