import{typeof as o}from"../../_virtual/_rollupPluginBabelHelpers.js";import{jsx as r}from"react/jsx-runtime";import t from"../Icon/Icon.js";import{defaultIconMap as e}from"./ToastConstants.js";var i=function(i,n,c){return n&&"object"===o(n)?n:n||e[i]?r(t,{iconType:n?t.type.ICON_FONT:t.type.SVG,clickable:!1,icon:n||e[i],iconSize:c,ignoreFocusStyle:!0}):null};export{i as getIcon};
