UNPKG

chat-frontend-library

Version:

``` npm install chat-frontend-library --save ```

17 lines (16 loc) 633 B
import { AxiosError } from "axios"; import "./ChatAndChatList.scss"; export interface IChatListProps { user_locale: string; user_id: string; cbHandleCloseChatList?: () => void; isOnlyChatList: boolean; classList?: string; handleRefreshToken: (err: AxiosError) => void; cbHandleOpenChat: (chat_information: { chat_id: string; opponent_id: string; }) => void; } declare const ChatList: ({ user_locale, user_id, cbHandleCloseChatList, isOnlyChatList, classList, handleRefreshToken, cbHandleOpenChat, }: IChatListProps) => import("react/jsx-runtime").JSX.Element; export default ChatList;