import l from "../../@babel/runtime/helpers/esm/objectSpread2.mjs";
import * as i from "react";
function a(e) {
  var o = e.icon, r = e.props, t = e.children, n;
  return o === null || o === !1 ? null : (typeof o == "function" ? n = /* @__PURE__ */ i.createElement(o, l({}, r)) : typeof o != "boolean" && (n = o), n || t || null);
}
export {
  a as default
};
