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


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