fix: theme icon fixed

This commit is contained in:
2025-09-04 10:23:55 +04:00
parent 604238ca43
commit dcf069aa1b

View File

@ -1,16 +1,20 @@
import React, { FC } from "react";
import { Center, ThemeIconProps } from "@mantine/core";
import {
Center,
ThemeIcon as MantineThemeIcon,
ThemeIconProps,
} from "@mantine/core";
type Props = ThemeIconProps;
const ThemeIcon: FC<Props> = props => {
return (
<Center>
<ThemeIcon
<MantineThemeIcon
bg={"transparent"}
{...props}>
{props.children}
</ThemeIcon>
</MantineThemeIcon>
</Center>
);
};