import { ArrowLeft } from "lucide-react"; import type { ReactNode } from "react"; import { Link } from "react-router"; interface EditorialMessageProps { eyebrow: string; title: string; body: ReactNode; hint?: ReactNode; ctaTo?: string; ctaLabel?: string; } export const EditorialMessage = ({ eyebrow, title, body, hint, ctaTo = "/sign-in", ctaLabel = "Back to sign in", }: EditorialMessageProps) => (
{eyebrow}
{body}
{hint ?{hint}
: null}