'use client'; import {ComponentCard} from './ComponentCard'; import {ImageCoordinator} from '@react-spectrum/s2'; import {InternalCardViewContext} from '../../../@react-spectrum/s2/src/Card'; import {Key, ListBox, ListBoxItem} from 'react-aria-components'; import React from 'react'; import {style} from '@react-spectrum/s2/style' with {type: 'macro'}; export interface ComponentCardItem { id: string; name: string; href: string; description?: string; } interface ComponentCardGridProps { items: ComponentCardItem[]; ariaLabel?: string; size?: 'S' | 'M' | 'L'; currentUrl?: string; onAction?: (key: Key) => void; renderEmptyState?: () => React.ReactNode; } export function ComponentCardView({ items, ariaLabel = 'Items', size = 'S', currentUrl, onAction, renderEmptyState }: ComponentCardGridProps) { return ( {item => ( )} ); }