@carton-org/react-neumorphism
Version:
A React component library implementing the neumorphism design style
18 lines (17 loc) • 467 B
JavaScript
import { jsx as e } from "@emotion/react/jsx-runtime";
import n from "../components/IconBox/IconBox.js";
const s = (t, u, r) => {
if (t === void 0)
return null;
switch (u) {
case "inset":
return /* @__PURE__ */ e(n, { inset: !0, icon: t, size: r });
case "outline":
return /* @__PURE__ */ e(n, { blank: !0, icon: t, size: r });
default:
return /* @__PURE__ */ e(n, { icon: t, size: r });
}
};
export {
s as getIconDisplay
};