import { Component } from 'react'; import { TooltipPosition } from '../../../components/Tooltip'; import { LabelProps } from '../../../components/Label'; import { OUIAProps } from '../../../helpers'; export interface ChipProps extends LabelProps, OUIAProps { /** Badge to add to the chip. The badge will be rendered after the chip text. */ badge?: React.ReactNode; /** Content rendered inside the chip text */ children?: React.ReactNode; /** Aria Label for close button */ closeBtnAriaLabel?: string; /** Additional classes added to the chip item */ className?: string; /** Flag indicating if the chip is an overflow chip */ isOverflowChip?: boolean; /** Flag indicating if chip is read only */ isReadOnly?: boolean; /** Function that is called when clicking on the chip close button */ onClick?: (event: React.MouseEvent) => void; /** @deprecated Component that will be used for chip. It is recommended that