mirror of
https://github.com/TangSengDaoDao/TangSengDaoDaoWeb
synced 2025-06-03 23:58:41 +00:00
29 lines
744 B
TypeScript
29 lines
744 B
TypeScript
import React, { Component } from "react";
|
|
import ConversationContext from "../Components/Conversation/context";
|
|
import { MessageWrap } from "../Service/Model";
|
|
|
|
|
|
export interface MessageBaseCellProps {
|
|
message: MessageWrap
|
|
context: ConversationContext
|
|
}
|
|
|
|
class MessageBaseCellPropsImp implements MessageBaseCellProps {
|
|
message!: MessageWrap;
|
|
context!: ConversationContext
|
|
|
|
}
|
|
export class MessageBaseCell<P extends MessageBaseCellProps = MessageBaseCellPropsImp, S = {}> extends Component<P, S> {
|
|
|
|
|
|
}
|
|
|
|
export class MessageCell<P extends MessageBaseCellProps = MessageBaseCellPropsImp, S = {}> extends MessageBaseCell<P, S> {
|
|
|
|
componentDidMount(): void {
|
|
}
|
|
|
|
render() {
|
|
return <div>MessageCell</div>
|
|
}
|
|
} |