1
0
Fork 0
fahrPool/web/components/ui/Alert.tsx

8 lines
224 B
TypeScript

export function Alert({ children }: { children: React.ReactNode }) {
return (
<p role="alert" className="rounded-md border border-status-danger bg-red-50 px-4 py-3 text-status-danger">
{children}
</p>
);
}