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