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


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

MoltenMessageBlock.displayName = "MoltenMessageBlock";

export default MoltenMessageBlock;
