import { Hash } from "lucide-react"; interface ChatWelcomeProps { name: string; type: "channel" | "conversation"; } export const ChatWelcome = ({ name, type, }: ChatWelcomeProps) => { return (
{type === "channel" && (
)}

{type === "channel" ? "Welcome to #" : ""}{name}

{type === "channel" ? `This is the start of the #${name} channel.` : `This is the start of your conversation with ${name}`}

) }