import React, { ElementType, FC, HTMLAttributes } from 'react'; import classNames from 'classnames'; export interface ChipLabelProps extends HTMLAttributes { /** Utilizzarlo in caso di utilizzo di componenti personalizzati */ tag?: ElementType; /** Classi aggiuntive da usare per il componente ChipLabel */ className?: string; testId?: string; } export const ChipLabel: FC = ({ className, tag = 'span', testId, ...attributes }) => { const Tag = tag; const classes = classNames(className, 'chip-label'); return ; };