import React from "react";
import { ModBadgeErrorProps } from "./TBadge";
import { Badge } from "@/components/ui/badge";

class ModBadgeError extends React.Component<ModBadgeErrorProps> {
  constructor(props: ModBadgeErrorProps) {
    super(props);
  }

  render(): React.ReactNode {
    return (
      <Badge className={this.props.className} variant={"destructive"}>
        {this.props.content}
      </Badge>
    );
  }
}

export { ModBadgeError };
