diff --git a/src/components/media/MediaCard.tsx b/src/components/media/MediaCard.tsx index 1277abf8..2664651c 100644 --- a/src/components/media/MediaCard.tsx +++ b/src/components/media/MediaCard.tsx @@ -42,9 +42,11 @@ function MediaCardContent({ return ( e.key === "Enter" && e.currentTarget.click()} > {props.children}; +function Base(props: { + className?: string; + children?: ReactNode; + tabIndex?: number; + onKeyUp?: (e: React.KeyboardEvent) => void; +}) { + return ( +
+ {props.children} +
+ ); } function Child(props: { className?: string; children?: ReactNode }) {