easemob-chat-uikit
Version:
   ![GitHub last c
26 lines (25 loc) • 754 B
TypeScript
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 };