/* eslint-disable */ // @ts-nocheck import { KeyboardEvent, useId } from "react"; import { Card, CardHeader, CardProps } from "../../../shared/@patternfly/react-core"; type ClickableCardProps = Omit & { onClick: () => void; }; export const ClickableCard = ({ onClick, children, ...rest }: ClickableCardProps) => { const id = useId(); const onKeyDown = (e: KeyboardEvent) => { if (e.key === " " || e.key === "Enter" || e.key === "Spacebar") { onClick(); } }; return ( {children} ); };