import React, { ElementType, FC, HTMLAttributes } from 'react'; import classname from 'classnames'; export interface GridItemProps extends HTMLAttributes { /** Classi aggiuntive da usare per il componente LinkListItem */ className?: string; /** Indica il tag da utilizzare per il titolo */ tag?: ElementType; testId?: string; } export const GridItem: FC = ({ tag: Tag = 'div', className, children, testId, ...attributes }) => { const classes = classname('it-grid-item-wrapper', className); return ( {children} ); };