import type { MessageBlockProps } from "$/types/MessageTypes";
import clsx from "clsx";
import { forwardRef } from "react";
import MessageBlock from "./MessageBlock";


const DarkMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
	className,
	...messageProps
}, ref ) => {
	return (
		<MessageBlock
			data-testid="mattrixwv-dark-message-block"
			className={clsx(
				className,
				"bg-dark text-dark-xlight"
			)}
			ref={ref}
			{...messageProps}
		/>
	);
});

DarkMessageBlock.displayName = "DarkMessageBlock";

export default DarkMessageBlock;
