import React from 'react'; import './style.scss'; interface CardProps extends React.PropsWithChildren<{ badge?: string; href?: string; icon?: string; iconColor?: string; kind?: 'card' | 'tile'; target?: string; title?: string; }> {} export const Card = ({ badge, children, href, kind = 'card', icon, iconColor, target, title }: CardProps) => { const Tag = href ? 'a' : 'div'; return ( {icon && }
{title && (
{title} {badge && {badge}} {href &&