import { type FC, type ReactNode, type MouseEvent as ReactMouseEvent, type HTMLAttributes } from 'react'; import '../styles/components/chip.scss'; type ChipProps = { /** * What is displayed within the chip */ children: string | ReactNode; /** * Call back which, if present, will display a remove icon and is fired when this is clicked */ onRemove?: (event: ReactMouseEvent) => void; /** * If true will opacify the chip and prevent the remove from being clickable */ disabled?: boolean; /** * Additional CSS classnames to apply (eg secondary, tertiary) */ className?: string; /** * Compact styling for chip */ compact?: boolean; /** * click event listener on the component (except on the close button if present) */ onClick?: () => void; /** * key press event listener on the component */ onKeyPress?: () => void; innerRef?: (node: HTMLElement | null) => void; asSpan?: boolean; }; export declare const Chip: FC>; export default Chip; //# sourceMappingURL=chip.d.ts.map