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


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


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