UNPKG

@alicloudfe/components

Version:

A react component library for aliyun

12 lines (11 loc) 330 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getInitialRefElement = void 0; exports.getInitialRefElement = function () { if (typeof document === 'undefined') { // this is executed in SSR // document is not defined return null; } return document.body; };