import React, { useState } from 'react'; import clsx from 'clsx'; import { LinkArrow } from '../Link/legacy/LinkArrow'; export interface CardIconProps { /** Color variant: 'neutral' (default) or 'green' */ variant?: 'neutral' | 'green'; /** Icon image source (URL or path) */ icon: string; /** Alt text for the icon image */ iconAlt?: string; /** Card label text */ label: string; /** Link destination - renders as */ href?: string; /** Click handler - renders as ); } // Static (non-interactive) card — no href, no onClick. Render a plain div so // the card isn't focusable / announced as a control. return (
{content}
); }; export default CardIcon;