diff --git a/src/components/ui/icons.tsx b/src/components/ui/icons.tsx index 2cabfe9..dd51db1 100644 --- a/src/components/ui/icons.tsx +++ b/src/components/ui/icons.tsx @@ -1,5 +1,10 @@ -import IconProps from '@/types/interfaces/IconProps' +import IconSize from '@/types/enums/IconSize' import { getIconDimension } from '@/utils' +import { HTMLAttributes } from 'react' + +interface IconProps extends HTMLAttributes { + size?: IconSize +} export const Icons = { check: ({ size, ...props }: IconProps) => { diff --git a/src/types/interfaces/IconProps.ts b/src/types/interfaces/IconProps.ts deleted file mode 100644 index 6626329..0000000 --- a/src/types/interfaces/IconProps.ts +++ /dev/null @@ -1,8 +0,0 @@ -import IconSize from '@/types/enums/IconSize' -import { HTMLAttributes } from 'react' - -interface IconProps extends HTMLAttributes { - size?: IconSize -} - -export default IconProps