@vtx/cs-map
Version:
React components for Vortex
15 lines (13 loc) • 600 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = getComponentProps;
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function getComponentProps(prop) {
if (prop && _typeof(prop) === 'object') {
return prop;
}
return {};
}
//# sourceMappingURL=getComponentProps.js.map