export interface ChipWithIconProps { label: string; onDelete: () => void; iconUrl: string; } export const ChipWithIcon = ({ label, onDelete, iconUrl, }: ChipWithIconProps) => { return ( {iconUrl && ( icon )} {label} ); };