mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Change icon for state multiselect
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
1049c90cb5
commit
50118dc174
|
@ -9,7 +9,7 @@ import {
|
|||
PillsInput,
|
||||
useCombobox,
|
||||
} from "@mantine/core";
|
||||
import { IconActivity } from "@tabler/icons-react";
|
||||
import { IconHeartRateMonitor } from "@tabler/icons-react";
|
||||
|
||||
interface StatePillProps extends React.ComponentPropsWithoutRef<"div"> {
|
||||
value: string;
|
||||
|
@ -78,7 +78,7 @@ export const StateMultiSelect: FC<StateMultiSelectProps> = ({
|
|||
pointer
|
||||
onClick={() => combobox.toggleDropdown()}
|
||||
miw={200}
|
||||
leftSection={<IconActivity size={14} />}
|
||||
leftSection={<IconHeartRateMonitor size={14} />}
|
||||
rightSection={
|
||||
values.length > 0 ? (
|
||||
<ComboboxClearButton onClear={() => onChange([])} />
|
||||
|
|
Loading…
Reference in a new issue