Merge ingest-api, collector-worker, admin-ui, database/error_reporting, deploy/lxc, docker-compose, and deployment docs into the dedicated repository. Paths updated for repo root (ER_REPO_ROOT, systemd WorkingDirectory). Root README documents layout. Co-Authored-By: Paperclip <[email protected]>
17 lines
300 B
TypeScript
17 lines
300 B
TypeScript
export function DataAlert({
|
|
variant,
|
|
title,
|
|
body,
|
|
}: {
|
|
variant: "warning" | "danger" | "info";
|
|
title: string;
|
|
body: string;
|
|
}) {
|
|
return (
|
|
<div className={`alert alert-${variant}`} role="status">
|
|
<strong className="d-block mb-1">{title}</strong>
|
|
{body}
|
|
</div>
|
|
);
|
|
}
|