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


export default function SuccessMessageBlock(props: MessageBlockProps){
	const {
		className,
		...messageProps
	} = props;


	return (
		<MessageBlock
			{...messageProps}
			className={clsx(
				className,
				"bg-green-100 text-green-600"
			)}
		/>
	);
}
