@clubmed/trident-icons
Version:
Shared ClubMed Icons library
23 lines (22 loc) • 496 B
JavaScript
import "react/jsx-runtime";
import { IconTypesRegistry as o } from "../contexts/IconsContext.js";
import "../chunks/index.js";
import "react";
function f(e, t = "default") {
t === "default" && (t = o.keys().next().value);
const n = r(t);
return n == null ? void 0 : n.get(e);
}
function g(e) {
const t = r(e);
return t ? [...t.values()] : [];
}
function r(e) {
return o.get(e);
}
export {
f as getIcon,
g as getIcons,
r as getIconsByType
};
//# sourceMappingURL=getIcons.js.map