UNPKG

@hitachivantara/uikit-react-core

Version:

Core React components for the NEXT Design System.

15 lines (14 loc) 517 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function getDocument() { return typeof window !== "undefined" ? document : void 0; } function getElementById(elementId) { return elementId && getDocument()?.getElementById(elementId) || void 0; } function getContainerElement(elementId) { return getElementById(elementId) || getDocument()?.body; } exports.getContainerElement = getContainerElement; exports.getDocument = getDocument; exports.getElementById = getElementById;