import React from 'react';

export const InlineCitationChip: React.FC<{ label: string; onInsert: () => void }> = ({
  label,
  onInsert,
}) => (
  <button
    type="button"
    onClick={onInsert}
    className="rounded-full border border-info/35 bg-info/10 px-2.5 py-1 text-[11px] text-info transition-colors hover:border-info hover:text-term-text"
  >
    {label}
  </button>
);
