import { h } from "@stencil/core";
import * as self from "./icon";
export { ArrowDown, ArrowUpDown, ArrowRight, Ban, Bot, BotOff, CalendarDays, Camera, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleCheck, CircleMinus, CircleOff, CircleX, Edit, Ellipsis, EllipsisVertical, Eye, EyeOff, File, Folder, Globe, Grip, Grid, Image, ImageOff, Inbox, Info, Languages, List, Loader2, LoaderCircle, Mail, MailCheck, MailWarning, Menu, MessageSquareText, MoreVertical, Paperclip, Pencil, Pin, Play, Plus, Reply, RotateCw, Save, Search, Send, SlidersHorizontal, SquareMenu, Touchpad, Trash2, Triangle, TriangleAlert, Unlink, UserRound, UserSearch, UsersRound, X, BotMessageSquare, Filter, Share2, AlertCircle, Copy, Tally1 } from 'lucide';
export const Icon = ({ name, addClass }) => {
    const icon = self[name];
    if (!icon || !Array.isArray(icon))
        return null;
    return (h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: addClass ? addClass : 'size-5' }, icon.map(([tag, attrs]) => h(tag, { ...attrs }))));
};
