refactor: theme icon for icon size setting

This commit is contained in:
2025-09-04 09:56:05 +04:00
parent b5934a7ed2
commit 604238ca43
4 changed files with 26 additions and 6 deletions

View File

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