/// import { IconType } from "@vitality-ds/icons/src/Icon/types"; import { ExcludedProps, VariantProps } from "@vitality-ds/system"; import { TooltipProps } from "../Tooltip/types"; import { ChipCheckboxType } from "./components/Checkbox/types"; import { MetaLabelProps } from "./components/MetaLabel/types"; import { RemoveButtonType } from "./components/RemoveButton/types"; import { BaseChip } from "./styled"; declare type IconProps = { /** * Set the icon to be displayed before the label. Generally should be a Vitality icon, but can also be custom via IconPrimtive (Read more @ /components/icons#custom-icons). */ icon: React.FC; /** * Text to display in the icon's tooltip when hovered. */ tooltipContent: TooltipProps["content"]; }; export declare type ChipProps = ExcludedProps & VariantProps & { /** * A descriptive string label that describes the attribute or property that the tag represents. */ label: string; /** * The function run when the remove button is clicked. */ onClick?: () => void; /** * Text to display in the Chip's tooltip when the label is hovered */ tooltipContent?: TooltipProps["content"]; /** * Props to configure the component's MetaLabel */ metaLabelProps?: MetaLabelProps; /** * Props to configure the component's Icon */ iconProps?: IconProps; /** * Props to configure the component's internal checkbox */ chipCheckboxProps?: ChipCheckboxType; /** * Props to configure the component's internal remove button */ removeButtonProps?: RemoveButtonType; /** * Disabled state of the Chip */ isDisabled?: boolean; /** * Defines the overflow behavior of the Chip * @default "wrap" */ overflowBehavior?: "truncate" | "wrap"; }; export {};