Change icon for state multiselect

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-04-09 12:50:22 +02:00
parent 1049c90cb5
commit 50118dc174

View file

@ -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([])} />