import React from "react"; import { IconName } from "../Icon"; export type ChipProps = { /** * Text to render in the chip. */ title: string; /** * The chip variant. Determines the visual expression of the chip. */ variant?: "default" | "error" | "active"; /** * Whether or not the chip should respond to touch events and render its disabled state. */ disabled?: boolean; /** * Callback method invoked when the user presses the chip. If not defined, the chip is not pressable. */ onPress?: () => void; /** * Callback method invoked when the user presses the delete button on the right side of the chip. If not defined, the chip does not render the delete button. */ onDelete?: () => void; /** * Optional icon to render on the left side of the chip. */ iconName?: IconName; }; export declare const Chip: { ({ title, variant, disabled, onPress, onDelete, iconName, }: ChipProps): React.JSX.Element; displayName: string; };