UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

26 lines (25 loc) 754 B
import React from 'react'; export interface NoticeMessageBodyProps { message?: string; time: number; type?: 'notice' | 'recall'; noticeType: 'recall' | 'pin' | 'unpin'; ext?: Record<string, any>; } export declare class NoticeMessageBody { id: string; message?: string; time: number; type: 'notice' | 'recall'; ext?: Record<string, any>; noticeType: 'recall' | 'pin' | 'unpin'; constructor(props: NoticeMessageBodyProps); } export interface NoticeMessageProps { prefix?: string; className?: string; noticeMessage: NoticeMessageBody; style?: React.CSSProperties; } declare const NoticeMessage: (props: NoticeMessageProps) => import("react/jsx-runtime").JSX.Element; export { NoticeMessage };