frontend/types/props.ts
JustTemmie 9b7de48c02
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
feat: add IRC colours, without a toggle for now
2025-07-13 18:16:02 +02:00

21 lines
No EOL
475 B
TypeScript

import type { MessageResponse, UserResponse } from "./interfaces";
export interface MessageProps {
class?: string,
img?: string | null,
author?: UserResponse
text: string,
timestamp: number,
format: "12" | "24",
type: "normal" | "grouped",
marginBottom: boolean,
authorColor: string,
last: boolean,
messageId: string,
replyingTo?: boolean,
editing?: boolean,
me: UserResponse
message: MessageResponse,
replyMessage?: MessageResponse
isMentioned?: boolean,
}