Files
MattrixwvReactComponents/lib/component/message/WarningMessageBlock.tsx
2025-11-18 22:48:52 -05:00

24 lines
442 B
TypeScript

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
data-testid="mattrixwv-warning-message-block"
{...messageProps}
className={clsx(
className,
"bg-yellow-100 text-yellow-600"
)}
/>
);
}