import clsx from "clsx"; import type * as React from "react"; import { assertUnreachable } from "~/utils/types"; import { AlertIcon } from "./icons/Alert"; import { CheckmarkIcon } from "./icons/Checkmark"; import { ErrorIcon } from "./icons/Error"; export type AlertVariation = "INFO" | "WARNING" | "ERROR" | "SUCCESS"; export function Alert({ children, textClassName, alertClassName, variation = "INFO", tiny = false, }: { children: React.ReactNode; textClassName?: string; alertClassName?: string; variation?: AlertVariation; tiny?: boolean; }) { return (