"use client" import Image from "next/image" import ErrorCircleFilledIcon from "@/components/Icons/ErrorCircleFilled" import Title from "@/components/TempDesignSystem/Text/Title" import { SASModal } from "./SASModal" import type { ReactNode } from "react" export function GenericError({ title, variant = "error", children, }: { title: ReactNode variant?: "error" | "info" children: ReactNode }) { return ( {variant === "error" ? ( ) : ( )} {title} {children} ) }