import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { GetSvgIcon } from "../..";
const TextDropdownItem = ({ svgIcon, itemName, onClick, hasBorder, }) => {
    return (_jsxs("div", { className: `TextDropdown-dropdownItem ${svgIcon}-icon ${hasBorder ? "border-none" : ""}`, onClick: () => onClick(itemName, svgIcon), children: [svgIcon && _jsx(GetSvgIcon, { iconType: svgIcon, iconSize: "16" }), itemName] }));
};
export default TextDropdownItem;
