"use client"; /** Security warning banner with optional action link */ export default function SecurityWarning({ message, action }) { return (
warning

{message}

{action && ( { e.preventDefault(); document.getElementById(action.href.slice(1))?.scrollIntoView({ behavior: "smooth" }); } : undefined} > {action.label} )}
); }