vue3-chat-yz
Version:
vue3-chat-yz
9 lines (8 loc) • 322 B
TypeScript
import { ConversationProps, Groupable, Conversation } from '../types';
type GroupList = {
data: Conversation[];
name?: string;
title?: Groupable["title"];
}[];
export default function useGroupable(groupable: ConversationProps["groupable"], items?: ConversationProps["items"]): [GroupList, boolean];
export {};