Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import type { MessageListItem } from '@service-storage/messages';
import { StandaloneThread } from './StandaloneThread';
type ReadonlyThreadProps = {
channelId: string;
messageId: string;
data?: MessageListItem;
onClickMessage?: (messageId: string, e: MouseEvent) => void;
};
export function ReadonlyThread(props: ReadonlyThreadProps) {
return (
<StandaloneThread.Root
channelId={props.channelId}
messageId={props.messageId}
data={props.data}
>
<StandaloneThread.ParentMessage
onClickMessage={props.onClickMessage}
class={props.onClickMessage ? 'hover:bg-hover' : undefined}
/>
<StandaloneThread.Replies
onClickMessage={props.onClickMessage}
class={props.onClickMessage ? 'hover:bg-hover' : undefined}
/>
</StandaloneThread.Root>
);
}