fix(deps): update dependency @tabler/icons-react to v3 (#215)

* fix(deps): update dependency @tabler/icons-react to v3

* fix: type issues caused by removal of TablerIconProps

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-03-12 21:46:37 +01:00
committed by GitHub
parent 24ec13c2ab
commit 1c222ed89c
10 changed files with 38 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ import React, { useMemo } from "react";
import { useAtomValue } from "jotai";
import { useScopedI18n } from "@homarr/translation/client";
import type { TablerIconsProps } from "@homarr/ui";
import type { TablerIcon } from "@homarr/ui";
import {
ActionIcon,
IconDotsVertical,
@@ -120,7 +120,7 @@ const useNonEditModeActions = (_category: CategorySection) => {
};
interface ActionDefinition {
icon: (props: TablerIconsProps) => JSX.Element;
icon: TablerIcon;
label: string;
onClick: () => void;
color?: string;

View File

@@ -1,4 +1,4 @@
import type { TablerIconsProps } from "@homarr/ui";
import type { TablerIcon } from "@homarr/ui";
import { AppShellNavbar, AppShellSection, ScrollArea } from "@homarr/ui";
import type { ClientNavigationLink } from "./navigation-link";
@@ -51,7 +51,7 @@ export const MainNavigation = ({
interface CommonNavigationLinkProps {
label: string;
icon: (props: TablerIconsProps) => JSX.Element;
icon: TablerIcon;
}
interface NavigationLinkHref extends CommonNavigationLinkProps {