import * as React from 'react'; import { TooltipPosition } from '../Tooltip'; import { OUIAProps } from '../../helpers'; export interface ChipProps extends React.HTMLProps, 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; /** Component that will be used for chip. It is recommended that