Fix tabler icon props import after version bump

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/15058/head
Julius Volz 2 months ago
parent 4f448d4c4c
commit d3b0ab453c

@ -1,12 +1,12 @@
import { Card, Group } from "@mantine/core"; import { Card, Group } from "@mantine/core";
import { TablerIconsProps } from "@tabler/icons-react"; import { IconProps } from "@tabler/icons-react";
import { FC, ReactNode } from "react"; import { FC, ReactNode } from "react";
import { infoPageCardTitleIconStyle } from "../styles"; import { infoPageCardTitleIconStyle } from "../styles";
const InfoPageCard: FC<{ const InfoPageCard: FC<{
children: ReactNode; children: ReactNode;
title?: string; title?: string;
icon?: React.ComponentType<TablerIconsProps>; icon?: React.ComponentType<IconProps>;
}> = ({ children, title, icon: Icon }) => { }> = ({ children, title, icon: Icon }) => {
return ( return (
<Card shadow="xs" withBorder p="md"> <Card shadow="xs" withBorder p="md">

Loading…
Cancel
Save