Skip to content

Commit

Permalink
fix: icon type error
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 11, 2024
1 parent c19b5fc commit 1083823
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rewards/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {
PropsWithChildren,
RefAttributes,
} from "react"
import { IconType } from "react-icons/lib"
import type { IconType } from "react-icons/lib"
import type {
GuildPlatformWithOptionalId,
PlatformName,
Expand Down Expand Up @@ -36,7 +36,9 @@ export enum PlatformAsRewardRestrictions {
}

export type RewardData = {
icon?: IconType
icon?:
| ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>
| IconType
imageUrl?: string
name: string
colorScheme: ThemingProps["colorScheme"]
Expand Down

0 comments on commit 1083823

Please sign in to comment.