Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
import { LocalChannelNode } from '@colanode/client/types';
import { NodeRole } from '@colanode/core';
import { Conversation } from '@colanode/ui/components/messages/conversation';
interface ChannelContainerProps {
channel: LocalChannelNode;
role: NodeRole;
}
export const ChannelContainer = ({ channel, role }: ChannelContainerProps) => {
return (
<Conversation
conversationId={channel.id}
rootId={channel.rootId}
role={role}
/>
);
};