import type { ReactNode } from "react"; type CalloutFarbe = "warning" | "danger" | "info"; const STIL: Record = { warning: { rand: "var(--pl-warning)", icon: "bi-exclamation-triangle-fill" }, danger: { rand: "var(--pl-danger)", icon: "bi-x-octagon-fill" }, info: { rand: "var(--pl-info)", icon: "bi-info-circle-fill" }, }; export function Callout({ farbe = "warning", titel, children, aktion, }: { farbe?: CalloutFarbe; titel: string; children: ReactNode; aktion?: ReactNode; }) { const stil = STIL[farbe]; return (