import { ThreadIcon } from "@lume/icons"; import type { Event } from "@lume/types"; import { Note } from "@lume/ui"; import { cn } from "@lume/utils"; import { useRouteContext } from "@tanstack/react-router"; export function Conversation({ event, className, }: { event: Event; className?: string; }) { const { ark } = useRouteContext({ strict: false }); const thread = ark.parse_event_thread(event.tags); return (
{thread?.root ? : null}
Thread
{thread?.reply ? : null}
); }