import { type ComponentType } from "react"; import { type LucideProps } from "lucide-react"; import { cn } from "@/lib/cn"; export type SquareIconVariant = "default" | "info" | "warning" | "danger"; const variantClass: Record = { default: "text-white", info: "text-sky-400", warning: "text-netbird", danger: "text-red-500", }; type SquareIconProps = { icon: ComponentType; iconSize?: number; variant?: SquareIconVariant; className?: string; }; export const SquareIcon = ({ icon: Icon, iconSize = 18, variant = "default", className, }: SquareIconProps) => (
);