Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

432 B
Raw Blame
import { LocalChatNode } from '@colanode/client/types';
import { NodeRole } from '@colanode/core';
import { NodeCollaboratorsPopover } from '@colanode/ui/components/collaborators/node-collaborators-popover';

interface ChatSettingsProps {
  chat: LocalChatNode;
  role: NodeRole;
}
export const ChatSettings = ({ chat, role }: ChatSettingsProps) => {
  return <NodeCollaboratorsPopover node={chat} nodes={[chat]} role={role} />;
};