mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 14:27:27 -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,
|
PillsInput,
|
||||||
useCombobox,
|
useCombobox,
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import { IconActivity } from "@tabler/icons-react";
|
import { IconHeartRateMonitor } from "@tabler/icons-react";
|
||||||
|
|
||||||
interface StatePillProps extends React.ComponentPropsWithoutRef<"div"> {
|
interface StatePillProps extends React.ComponentPropsWithoutRef<"div"> {
|
||||||
value: string;
|
value: string;
|
||||||
|
@ -78,7 +78,7 @@ export const StateMultiSelect: FC<StateMultiSelectProps> = ({
|
||||||
pointer
|
pointer
|
||||||
onClick={() => combobox.toggleDropdown()}
|
onClick={() => combobox.toggleDropdown()}
|
||||||
miw={200}
|
miw={200}
|
||||||
leftSection={<IconActivity size={14} />}
|
leftSection={<IconHeartRateMonitor size={14} />}
|
||||||
rightSection={
|
rightSection={
|
||||||
values.length > 0 ? (
|
values.length > 0 ? (
|
||||||
<ComboboxClearButton onClear={() => onChange([])} />
|
<ComboboxClearButton onClear={() => onChange([])} />
|
||||||
|
|
Loading…
Reference in a new issue