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


export default function DangerMessageBlock({
	className,
	...messageProps
}: Readonly<MessageBlockProps>){
	return (
		<MessageBlock
			data-testid="mattrixwv-danger-message-block"
			className={clsx(
				className,
				"bg-danger-xlight text-danger-dark"
			)}
			{...messageProps}
		/>
	);
}
