import { Database, Message } from "types"; import WithStyleSheet from "components/WithStyleSheet.tsx"; import { page_style } from "style"; import RenderMsg from "components/RenderMsg.tsx"; export default function ConversationLink({ conv, db, interactive, }: { conv: string; db: Database; interactive: boolean; }) { const conv_ = db.conversations[conv]; if (!conv_) return <>; const name: Message = { content: conv_.name, preset: "page", }; const description: Message = { content: conv_.description, preset: "page", }; return ( <>
); }