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


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