This commit is contained in:
Jia Wei Ng 2026-04-22 22:24:13 +01:00 committed by GitHub
commit abd331e989
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,8 +15,9 @@ export function Callout({
return (
<div
className={cn("my-6 flex items-start rounded-md border border-l-4 p-4", {
"border-red-900 bg-red-50": type === "danger",
"border-yellow-900 bg-yellow-50": type === "warning",
"border-red-900 bg-red-50 dark:bg-red-900/[.5]": type === "danger",
"border-yellow-900 bg-yellow-50 dark:bg-yellow-900/[.5]":
type === "warning",
})}
{...props}
>