UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

3 lines (2 loc) 353 B
var r="rgba(0, 0, 0, 0)";function e(t,n){var o=t.parentElement;if(t===t.parentElement)return t?window.getComputedStyle(t).backgroundColor:n;if(!o)return n;var a=window.getComputedStyle(o).backgroundColor;return a&&a!==n?a===r?n:a:e(o,n)}export{r as TRANSPARENT_COLOR,e as getParentBackgroundColorNotTransparent}; //# sourceMappingURL=dom-helpers.js.map