fix: theme icon fixed
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user