diff --git a/src/renderer/src/components/GameCard/index.tsx b/src/renderer/src/components/GameCard/index.tsx index b3627e1..9c3f166 100644 --- a/src/renderer/src/components/GameCard/index.tsx +++ b/src/renderer/src/components/GameCard/index.tsx @@ -1,4 +1,5 @@ import { useEffect, useState } from 'react'; +import ContextMenu, { Item } from '../ContextMenu'; import './index.css'; import { Game } from "@renderer/types"; @@ -20,14 +21,31 @@ const GameCard = ({ title, path, is_running, img_cover, id, }: Game) => { }, []); + const items: Item[] = [ + { + label: 'Details', + onClick: () => + console.log('Details'), + show: true + }, + { + label: 'Details', + onClick: () => + console.log('Details'), + show: true + } + ] + return ( -