fix(LOY-10): move types to type folder

This commit is contained in:
Chuma McPhoy
2024-12-05 16:30:35 +01:00
parent d897bd81ac
commit 6babb667e4
2 changed files with 7 additions and 6 deletions

View File

@@ -1,11 +1,6 @@
import { mapRewardToIcon } from "./data"
import { IconProps } from "@/types/components/icon"
interface RewardIconProps extends IconProps {
rewardId: string
size?: "small" | "medium" | "large"
}
import { RewardIconProps } from "@/types/components/myPages/rewards"
// Original SVG aspect ratio is 358:202 (≈1.77:1)
const sizeMap = {

View File

@@ -0,0 +1,6 @@
import type { IconProps } from "@/types/components/icon"
export interface RewardIconProps extends IconProps {
rewardId: string
size?: "small" | "medium" | "large"
}