Add message block tests

This commit is contained in:
2025-11-18 22:48:52 -05:00
parent 91c8169e97
commit cfe6fc1a4e
26 changed files with 1873 additions and 4 deletions

View File

@@ -13,24 +13,26 @@ export default function MessageBlock(props: MessageBlockProps){
return (
<div
data-testid="mattrixwv-message-block"
{...messageProps}
className={clsx(
className,
"px-4 py-2",
{
"border-0": outline === "none",
"border-1": outline === "sm",
"border": outline === "sm",
"border-2": outline === "md",
"border-3": outline === "lg"
},
{
"rounded-none": rounded === "none",
"rounded-xs": rounded === "xs",
"rounded": rounded === "md",
"rounded-sm": rounded === "sm",
"rounded-md": rounded === "md",
"rounded-lg": rounded === "lg",
"rounded-xl": rounded === "xl"
}
)}
/>
);
}
}