ConversationHeader.tsx 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. "use client";
  2. export function ConversationHeader() {
  3. return (
  4. <div className="h-16 border-b border-gray-200 flex items-center justify-between px-4 flex-shrink-0">
  5. <div className="flex items-center gap-2">
  6. <span className="font-semibold text-gray-800">All chats</span>
  7. <svg
  8. className="w-4 h-4 text-gray-400"
  9. fill="none"
  10. stroke="currentColor"
  11. viewBox="0 0 24 24"
  12. >
  13. <path
  14. strokeLinecap="round"
  15. strokeLinejoin="round"
  16. strokeWidth={2}
  17. d="M19 9l-7 7-7-7"
  18. />
  19. </svg>
  20. </div>
  21. <div className="flex items-center gap-2">
  22. <span className="text-sm text-gray-600">All</span>
  23. <svg
  24. className="w-4 h-4 text-gray-400"
  25. fill="none"
  26. stroke="currentColor"
  27. viewBox="0 0 24 24"
  28. >
  29. <path
  30. strokeLinecap="round"
  31. strokeLinejoin="round"
  32. strokeWidth={2}
  33. d="M19 9l-7 7-7-7"
  34. />
  35. </svg>
  36. </div>
  37. </div>
  38. );
  39. }