Primer commit — OPSV Dashboard de siniestralidad vial
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export default function ErrorBanner({ message }) {
|
||||
if (!message) return null
|
||||
|
||||
return (
|
||||
<div className="rounded-3xl border border-red-200 bg-red-50 p-5 text-sm text-red-800">
|
||||
<div className="font-semibold">Error al cargar datos</div>
|
||||
<p className="mt-1">{message}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user