Skip to content

Commit

Permalink
chore: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 30, 2024
1 parent d4deb4d commit b13dcb2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/rewards/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,15 @@ export type RewardData = {
}

export type RewardComponentsData = {
// cardPropsHook?: CardPropsHook
// cardSettingsComponent?: CardSettings
cardMenuComponent?: (props: any) => JSX.Element
cardWarningComponent?: (props: any) => JSX.Element
cardButton?: (props: any) => JSX.Element
AddRewardPanel?: ComponentType<AddRewardPanelProps>
// RewardPreview?: ComponentType<PropsWithChildren>
RoleCardComponent?: ComponentType<RewardProps>
}

export type CardSetting = () => JSX.Element
export type RewardPreview = ComponentType<PropsWithChildren>
// export type AddRewardPanel = ComponentType<AddRewardPanelProps>
// export type RoleCard = ComponentType<RewardProps>
// TODO: refactor so that props are properly typed out
// export type CardMenu = (props: any) => JSX.Element
// export type CardWarning = (props: any) => JSX.Element
// export type CardButton = (props: any) => JSX.Element

export type RewardComponentMap<T> = Readonly<Partial<Record<PlatformName, T>>>

export type Rewards = Readonly<Record<PlatformName, RewardData>>
Expand Down

0 comments on commit b13dcb2

Please sign in to comment.