You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
337 B
17 lines
337 B
import { type ReactNode } from "react";
|
|
|
|
interface WarningBannerProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export function WarningBanner({ children }: WarningBannerProps) {
|
|
return (
|
|
<div
|
|
role="status"
|
|
className="rounded-md border-l-4 border-warning bg-amber-50 p-4 text-sm text-warning"
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|