@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
9 lines • 354 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.unwrapElement = void 0;
const is_utils_1 = require("./is.utils");
const unwrapElement = (element) => {
return !(0, is_utils_1.isElement)(element) ? element.contextElement : element;
};
exports.unwrapElement = unwrapElement;
//# sourceMappingURL=unwrapElement.js.map