import { PinIcon } from "@lume/icons"; import { COL_TYPES } from "@lume/utils"; import { Link } from "react-router-dom"; import { twMerge } from "tailwind-merge"; import { Note } from "."; import { useColumnContext } from "../column"; export function NoteThread({ thread, className, }: { thread: { rootEventId: string; replyEventId: string }; className?: string; }) { const { addColumn } = useColumnContext(); if (!thread) return null; return (
{thread.rootEventId ? ( ) : null} {thread.replyEventId ? ( ) : null}
Show thread
); }