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 React, { FC } from "react";
import { Center, ThemeIconProps } from "@mantine/core"; import {
Center,
ThemeIcon as MantineThemeIcon,
ThemeIconProps,
} from "@mantine/core";
type Props = ThemeIconProps; type Props = ThemeIconProps;
const ThemeIcon: FC<Props> = props => { const ThemeIcon: FC<Props> = props => {
return ( return (
<Center> <Center>
<ThemeIcon <MantineThemeIcon
bg={"transparent"} bg={"transparent"}
{...props}> {...props}>
{props.children} {props.children}
</ThemeIcon> </MantineThemeIcon>
</Center> </Center>
); );
}; };