wix-style-react
Version:
wix-style-react
16 lines (15 loc) • 436 B
JavaScript
;
exports.__esModule = true;
exports.shouldAnimatePopover = void 0;
var shouldAnimatePopover = timeout => {
if (typeof timeout === 'object') {
var {
enter,
exit
} = timeout;
return typeof enter !== 'undefined' && typeof exit !== 'undefined' && (enter > 0 || exit > 0);
}
return !!timeout;
};
exports.shouldAnimatePopover = shouldAnimatePopover;
//# sourceMappingURL=shouldAnimatePopover.js.map