import React from "react";
import {LucideIcon} from "lucide-react";

interface IconLabelProps {
    icon: LucideIcon;
    children: React.ReactNode;
}

export default function IconLabel({icon: Icon, children}: IconLabelProps): React.JSX.Element {
    return (
        <div className="flex items-center gap-1.5">
            <Icon className="w-3 h-3 text-muted" strokeWidth={1.75}/>
            <span>{children}</span>
        </div>
    );
}
