import { h } from 'preact'; import { mergeClasses } from './Util'; import { Contact, Conversation } from 'common/graph/type'; interface Props { contacts: Contact[]; conversation: Conversation; active: boolean; onClick: () => void; } export default function ConversationItem({ conversation: conv, contacts, active, onClick }: Props) { return (
  • ); }