/* * Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors. * SPDX-License-Identifier: GPL-2.0-or-later */ import { classNames } from "@utils"; interface WarningAlertProps { text: string | JSX.Element; alert?: string; colors?: string; className?: string; } export const WarningAlert = ({ text, alert, colors, className }: WarningAlertProps) => (
Info
{alert ?? "Warning!"} {" "}{text}
);