|
|
@ -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">
|
|
|
|