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


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

SecondaryMessageBlock.displayName = "SecondaryMessageBlock";

export default SecondaryMessageBlock;
